summaryrefslogtreecommitdiffstats
path: root/sys/dev/sbus/if_le_ledma.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make room for media types of the future. Extend the ifmedia word to 64 bits.stsp2015-09-111-2/+2
| | | | | | | | | | | | | | | | This changes numbers of the SIOCSIFMEDIA and SIOCGIFMEDIA ioctls and grows struct ifmediareq. Old ifconfig and dhclient binaries can still assign addresses, however the 'media' subcommand stops working. Recompiling ifconfig and dhclient with new headers before a reboot should not be necessary unless in very special circumstances where non-default media settings must be used to get link and console access is not available. There may be some MD fallout but that will be cleared up later. ok deraadt miod with help and suggestions from several sharks attending l2k15
* unifdef INETtedu2014-12-221-3/+1
|
* Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:miod2013-09-241-36/+40
| | | | | | | | | | | | | | | | - the am7990_get() - now lance_get() - is unchanged. - the interrupt acknowledge logic is unchanged, and will disable interrupts, then acknowledge all interrupt conditions. Add ILACC (79900) support (from NetBSD). Both LANCE (am7990.c) and ILACC (am79900.c) code share as much common code (lance.c) as possible. This affects all le(4) attachments, but the changes are mostly mechanical, to split am7990-specific parts from lance-agnostic parts. Compile tested on all affected platforms. Tested on alpha, hp300, luna88k, mvme88k, sparc, sparc64 and vax.
* Revert previous change, and don't set IFM_AVALID | IFM_ACTIVE in ifm_statusmiod2012-07-301-3/+1
| | | | | to appease dhcpd, as dhcpd has now been fixed to not require this. repeated prodding and special ok deraadt@
* When reporting media state, be sure to set IFM_AVALID and IFM_ACTIVE inmiod2012-07-251-1/+3
| | | | | | | | ifm_status, for dhclient's sake. Current dhclient interface_status() considers interfaces able to report media information but not returning IFM_AVALID as down. Note that these interfaces usually have mii(4) or have specific code reporting correct values; sparc le(4) is an exception. Found the hard way by sebastia@; joint work with krw@, ok deraadt@
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* use the right capitalization for `MBus' and `SBus'sobrado2007-05-311-2/+2
| | | | ok jmc@
* sbus_establish() and the associated linked list in the sbus softc is now onlymiod2006-06-021-7/+1
| | | | | | used to store a per-device reset callback, for use in sbusreset(). Except sbusreset() has never, ever, been used since Torek's sbus code went in. Time to recycle those wasted bits.
* Sprinkle bus_space_barrier()s after LANCE register writes, as already donemiod2006-05-151-1/+7
| | | | in if_le.c; ok jason@
* ansify and remove staticsjason2003-07-071-65/+36
|
* Add a "where" argument to the sparc64 interrupt code. This lets ushenric2003-06-241-2/+2
| | | | | | | associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@
* Silence the "lost carrier on FOO port" messages when the port has been setmiod2003-05-141-7/+5
| | | | | | in stone with "ifconfig le0 media foo". Inspired by previous am7990.c change. ok todd@ jason@
* Add support for the Sun Enterprise 450henric2003-02-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | Reduce the size of a GENERIC kernel by ~190k Remove the nasty pointer/bus_space_handle_t casts Adds debug bus_space code including the ability to trace bus operations (it actually works now). The following rules are now followed (and verfified by the debug code): 1. A "bus_space_handle_t" may only be used with the "bus_space_tag_t" that created it. 2. Only "bus_space_map()" may create "bus_space_handle_t"s. 3. A "bus_space_handle_t" may not be modified after it has been created (other than being destroyed by "bus_space_unmap()"). Thanks to help from mcbride, marc, jason, drahn, to anyone that might have slipped my mind at the moment. ok jason@, deraadt@
* First round of __P removal in sysmillert2002-03-141-13/+13
|
* implement autoconf mechanism using device_register(); from NetBSD.jason2001-08-311-8/+1
|
* $OpenBSD$jason2001-08-201-0/+1
|
* modifications to support OpenBSD/sparc style bootpath determinationjason2001-08-201-6/+8
|
* remove dependence on lancereg.h/lancevar.hjason2001-08-191-2/+0
|
* enough from netbsd to get le at ledma attachedjason2001-08-191-0/+451