aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc/hotplug.d
Commit message (Expand)AuthorAgeFilesLines
* base-files: evaluate /etc/sysctl.d/* before /etc/sysctl.confMatthias Schiffer2018-04-131-1/+1
* sysctl: read settings from /etc/sysctl.d/*.confJohn Crispin2015-07-071-3/+6
* base-files: drop 2 pointless hotplug trigger stubsJohn Crispin2013-06-212-26/+0
* package/base-files: change sysctl handling Move /etc/init.d/sysctl to index 0...Jo-Philipp Wich2013-03-251-0/+6
* base-files: remove rdate integration, add busybox ntpd init script and server...Jo-Philipp Wich2011-10-271-63/+0
* base-files: move network related scripts to a separate package to make the tr...Felix Fietkau2011-10-203-214/+0
* base-files: use uci_toggle_state() to prevent unwanted aggregation of state v...Jo-Philipp Wich2011-07-152-4/+4
* base-files: properly handle vlans on top of wireless interfacesJo-Philipp Wich2011-03-181-7/+10
* base-files: fix sysctl handling, do not react on fake ifaces in route hotplug...Jo-Philipp Wich2011-02-251-2/+5
* base-files: - properly disable IPv6 on bridge ports - introduce accept_ra opt...Jo-Philipp Wich2011-02-111-0/+27
* base-files: make the skipping of ppp interfaces in 10-net hotplug more explic...Jo-Philipp Wich2011-02-031-1/+1
* base-files: derive connect_time from uptime as local system time may warp due...Jo-Philipp Wich2010-12-011-1/+1
* base-files: save the connect time of interfaces in uci stateJo-Philipp Wich2010-12-011-0/+1
* base-files: add "mtu" option for route sections, allows setting per-route mtu...Jo-Philipp Wich2010-06-301-2/+6
* base-files: - add aliases to device by default (not ifname) - introduce optio...Jo-Philipp Wich2010-06-021-1/+2
* base-file: move alias setup to route hotplug, this fixes alias sections for n...Jo-Philipp Wich2010-06-011-0/+28
* base-files: 3g connection interfaces are now called "3g-*" - adjust 10-net ho...Jo-Philipp Wich2010-05-281-1/+1
* base-files (#7316) - improve rdate reliability - make rdate config more ntp l...Jo-Philipp Wich2010-05-171-35/+52
* base-files: use uci_get() wrapper (#7312)Jo-Philipp Wich2010-05-171-1/+1
* base-files: do not bring up wlan interfaces from hotplug events, so that wron...Felix Fietkau2010-05-051-0/+2
* base-files: add a hotplug handler for rdateJo-Philipp Wich2010-03-271-0/+46
* add the block-mount package by Daniel Dickinson (cshore), replacing existing ...Felix Fietkau2010-02-261-20/+0
* base-files: try to activate hotplugged partitions as swap and fall back to la...Jo-Philipp Wich2010-01-231-4/+5
* base-files: move ipv6 module loading from setup_interface() to addif() in the...Jo-Philipp Wich2009-08-101-0/+6
* fix broken logic in r15272, r15273Jo-Philipp Wich2009-04-191-5/+4
* base-files: (#4928) handle "option gateway 0.0.0.0" and "option gateway inter...Jo-Philipp Wich2009-04-191-0/+7
* base-files: remove redundant netmask handling in 10-routesJo-Philipp Wich2009-04-121-1/+0
* Use block events for the mounting/unmounting of external storage devices. Thi...Jose Vasconcellos2009-01-304-13/+45
* allow ipv4 routes without gateway in configurationJo-Philipp Wich2008-12-221-2/+4
* package/base-files: allow ipv6 routes without gateway specifiedJo-Philipp Wich2008-11-281-1/+1
* fix up the network ifname in the network state when receiving iface/ifup eventsFelix Fietkau2008-11-281-0/+1
* network scripts: properly maintain the network state's list of assigned inter...Felix Fietkau2008-07-301-0/+21
* use default gateway for routes that have no gw specified, Signed off by: Bria...John Crispin2008-06-061-4/+2
* Here comes the new UCI. Enjoy :)Felix Fietkau2008-02-032-2/+1
* Add route6 option to setup IPv6 routes (#2528)Florian Fainelli2007-10-161-0/+29
* fix a race condition with dynamic interfaces and firewallingFelix Fietkau2007-08-041-3/+0
* use . /var/state/network instead of config_load to avoid a CONFIG_SECTIONS resetFelix Fietkau2007-07-131-1/+1
* fix static routes for dynamic interfaces (#1446)Felix Fietkau2007-07-121-0/+1
* added usb-storage hotplugingJohn Crispin2007-06-201-0/+13
* keep track of the network interface states (stored in uci format in /var/stat...Felix Fietkau2007-06-161-0/+6
* buggy script; nolonger usedMike Baker2007-05-011-33/+0
* remove automounting script for block devices - it's causing more problems tha...Felix Fietkau2007-04-121-25/+0
* add support for static routes - based on the patch from #1365Felix Fietkau2007-03-021-0/+40
* more reliable fix for handling pppFelix Fietkau2007-02-251-0/+5
* don't try to automount loopback devices (#1011)Felix Fietkau2006-12-201-1/+1
* small tweaks to the usb disk hotplug scriptsMike Baker2006-11-282-6/+5
* rename default/ to files/Felix Fietkau2006-11-223-0/+94
span class="nl">LVCMOS33: case IOType::LVCMOS33D: case IOType::LVPECL33: case IOType::LVPECL33E: return IOVoltage::VCC_3V3; case IOType::LVCMOS25: case IOType::LVCMOS25D: case IOType::LVDS: case IOType::SLVS: case IOType::SUBLVDS: case IOType::LVDS25E: case IOType::MLVDS25: case IOType::MLVDS25E: case IOType::BLVDS25: return IOVoltage::VCC_2V5; case IOType::LVCMOS18: case IOType::LVCMOS18D: case IOType::SSTL18_I: case IOType::SSTL18_II: case IOType::SSTL18D_I: case IOType::SSTL18D_II: return IOVoltage::VCC_1V8; case IOType::LVCMOS15: case IOType::SSTL15_I: case IOType::SSTL15_II: case IOType::SSTL15D_I: case IOType::SSTL15D_II: return IOVoltage::VCC_1V5; case IOType::SSTL135_I: case IOType::SSTL135_II: case IOType::SSTL135D_I: case IOType::SSTL135D_II: return IOVoltage::VCC_1V35; case IOType::LVCMOS12: case IOType::HSUL12: case IOType::HSUL12D: return IOVoltage::VCC_1V2; default: NPNR_ASSERT_FALSE("unknown IO type, unable to determine VccIO"); } } bool is_strong_vccio_constraint(IOType type, PortType dir, IOSide side) { if (dir == PORT_OUT || dir == PORT_INOUT) return true; switch (type) { case IOType::TYPE_NONE: case IOType::LVCMOS33D: case IOType::LVPECL33: case IOType::LVDS: case IOType::MLVDS25: case IOType::BLVDS25: case IOType::SLVS: case IOType::SUBLVDS: case IOType::LVCMOS12: case IOType::HSUL12: case IOType::HSUL12D: return false; case IOType::LVCMOS33: case IOType::LVTTL33: case IOType::LVCMOS25: return (side == IOSide::LEFT || side == IOSide::RIGHT); default: return true; } } bool is_differential(IOType type) { switch (type) { case IOType::LVCMOS33D: case IOType::LVCMOS25D: case IOType::LVPECL33: case IOType::LVDS: case IOType::MLVDS25: case IOType::BLVDS25: case IOType::SLVS: case IOType::SUBLVDS: case IOType::LVCMOS18D: case IOType::SSTL18D_I: case IOType::SSTL18D_II: case IOType::SSTL15D_I: case IOType::SSTL15D_II: case IOType::SSTL135D_I: case IOType::SSTL135D_II: case IOType::HSUL12D: return true; default: return false; } } bool is_referenced(IOType type) { switch (type) { case IOType::SSTL18_I: case IOType::SSTL18_II: case IOType::SSTL18D_I: case IOType::SSTL18D_II: case IOType::SSTL15_I: case IOType::SSTL15_II: case IOType::SSTL15D_I: case IOType::SSTL15D_II: case IOType::SSTL135_I: case IOType::SSTL135_II: case IOType::SSTL135D_I: case IOType::SSTL135D_II: case IOType::HSUL12: case IOType::HSUL12D: return true; default: return false; } } bool valid_loc_for_io(IOType type, PortType dir, IOSide side, int z) { bool is_lr = side == IOSide::LEFT || side == IOSide::RIGHT; if (is_referenced(type) && !is_lr) return false; if (is_differential(type) && (!is_lr || ((z % 2) == 1))) return false; if ((type == IOType::LVCMOS18D || type == IOType::LVDS) && (dir == PORT_OUT || dir == PORT_INOUT) && z != 0) return false; return true; } NEXTPNR_NAMESPACE_END