summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/if_le.c
AgeCommit message (Collapse)Author
2002-04-30Fix an ancient problem in how sparc interrupts are handled.Artur Grabowski
There are many interrupt handlers that assume that they don't need to do any spl protection in their code because the interrupt of some level can't be interrupted by an interrupt of the same level. The problem is that some interrupt handlers have hardware levels that are lower then their "software" levels. Fix this by adding an additional field to struct intrhand that specifies which "software" level an interrupt handler has and blocks that level while handling the interrupt. This new field is initialized in intr_establish which gets an additional argument (which can be -1 meaning that the interrupt handler doesn't need to block any additional level). ok deraadt@
2002-03-14First round of __P removal in sysTodd C. Miller
2001-06-11Being able to compile sun4 (non-sun4c non-4m) kernels doesn't hurt.Miod Vallat
2001-01-15- increase the amount of space mapped for dvma on sun4mJason Wright
- use a flag to specify allocations for 24 bit devices - compatibility macros to deal with the 32 bit devices This fixes the 'le at sbus' on sun4m problem (with the extent fixes earlier), and allows the Artecon ethernet cards to work in sun4m machines.
1999-02-28conditionalize use of sbus_testdma()Jason Wright
1998-12-22only define le_softc variables ifdef SUN4M; C. W. Wilkerson ↵Jason Wright
(wilker@purdue116.gte.net).
1998-12-13be more careful with media handlingsTheo de Raadt
1998-11-11A few more dma in non-dma slot checksJason Wright
1998-09-28Remember the status of the aui/tp bit, and reset it and waitJason Wright
appropriately during lehwreset(); idea from pk@NetBSD
1998-09-19lebuffer based le's use UTPJason Wright
1998-09-18lebuffer cards are UTPTheo de Raadt
1998-09-16o if_media'fied am7990Jason Wright
o if_media'fied sun4m le.
1997-09-17NETBSD_CURRENT_970916. Lot's just ID changes, since changes don't apply toJason Downs
us. Includes some pmap changes, for which I don't have the original commit message(s) handy.
1997-08-08Mostly sync to NetBSD-current 970804.Jason Downs
GENERIC currently compiles and runs; some devices (isp) are not complete and not yet enabled.
1996-08-11netbsd port, now we merge our changes back inTheo de Raadt
1995-12-15MI le driverTheo de Raadt
1995-10-23prettyTheo de Raadt
1995-10-23Cast in places where we discard volatile pointers in function calls. Wedavem
know that what we are doing is ok, so let gcc know this.
1995-10-18ra_len is uselessTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt