History log of /src/sys/dev/sbus/if_le_ledma.c |
Revision | | Date | Author | Comments |
1.39 |
| 15-Oct-2025 |
thorpej | These drivers can use ether_getaddr() instead of prom_getether() now.
|
1.38 |
| 25-Sep-2022 |
thorpej | Remove unnecessary include of <sys/malloc.h>.
|
1.37 |
| 29-May-2022 |
rin | Audit unload/unmap v.s. free against DMA buffer for sys/dev; make sure that bus_dmamap_unload(9) [or bus_dmamap_destroy(9)] or bus_dmamem_unmap(9) are preceding to freeing DMA buffer, if it is loaded or mapped, respectively.
This is mandatory for some archs. See, e.g.:
http://www.nerv.org/netbsd/?q=id:20210511T013030Z.013443cc790088147e4beed43f53dedabeaf9312 http://www.nerv.org/netbsd/?q=id:20220511T172220Z.561179f0b6fcc5b9cd73e274f69d74e2ce9e4c93
For some drivers, resource leaks for error paths are fixed at the same time.
XXX XXX XXX Compile test only (at least one arch per driver).
|
1.36 |
| 25-Apr-2019 |
msaitoh | KNF. No functional change.
|
1.35 |
| 19-Jan-2010 |
pooka | branches: 1.35.64; Redefine bpf linkage through an always present op vector, i.e. #if NBPFILTER is no longer required in the client. This change doesn't yet add support for loading bpf as a module, since drivers can register before bpf is attached. However, callers of bpf can now be modularized.
Dynamically loadable bpf could probably be done fairly easily with coordination from the stub driver and the real driver by registering attachments in the stub before the real driver is loaded and doing a handoff. ... and I'm not going to ponder the depths of unload here.
Tested with i386/MONOLITHIC, modified MONOLITHIC without bpf and rump.
|
1.34 |
| 17-Sep-2009 |
tsutsui | Remove struct sbusdev and related functions sbus_establish() and sbusreset(). They are derived from 4.4BSD/sparc and have been there since initial import of NetBSD/sparc in 1993, but the struct sbusdev is almost unused for years, nothing calls sbusreset(), and all (*sd->sd_reset)() functions look bogus.
Suggested by mrg@ and martin@, and tested on SS1+ and SS20.
|
1.33 |
| 08-Sep-2009 |
tsutsui | sbus_establish() should take device_t self for the device itself, not device_t parent even if sbus is grandparent of the device, otherwise (*sd_reset)() callbacks will be called with an wrong device_t. Even in such case, sbus_establish() looks for an sbus though device tree. XXX: (*sd_reset)() isn't called anyway, and these stuff seems really bogus.
|
1.32 |
| 08-Sep-2009 |
tsutsui | Fix botch on device_t/softc split caused by awful casts around registration of (*sd_reset)(device_t) in struct sbusdev via sbus_establish().
XXX: (*sd_reset)() in struct sbusdev seems called from only sbusreset(), XXX: but there is no function which calls sbusreset()???
|
1.31 |
| 12-Apr-2009 |
tsutsui | Don't immediately switch UTP/AUI ports on lost carrior. It may take a while for modern switches to set 10baseT media.
|
1.30 |
| 28-Apr-2008 |
martin | branches: 1.30.8; 1.30.10; 1.30.14; 1.30.18; Remove clause 3 and 4 from TNF licenses
|
1.29 |
| 04-Apr-2008 |
tsutsui | branches: 1.29.2; 1.29.4; Split device_t/softc for le(4) and variants and misc cosmetic changes.
|
1.28 |
| 19-Oct-2007 |
ad | branches: 1.28.16; machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
|
1.27 |
| 04-Mar-2007 |
christos | branches: 1.27.2; 1.27.14; 1.27.16; 1.27.20; Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
1.26 |
| 11-Dec-2005 |
christos | branches: 1.26.26; merge ktrace-lwp.
|
1.25 |
| 04-Feb-2005 |
perry | branches: 1.25.6; de-__P
|
1.24 |
| 15-Mar-2004 |
pk | branches: 1.24.8; 1.24.10; Replace myetheraddr() by prom_getether().
|
1.23 |
| 11-Nov-2003 |
pk | Remove ancient DDB-dependent `hide/integrate'. Simplify lewrcsr/lerdcsr; read-back after write doesn't hurt on sun4 so skip the cpu type test in generic kernels.
|
1.22 |
| 10-Dec-2002 |
pk | branches: 1.22.6; Remove the `flags' argument from bus_intr_establish().
|
1.21 |
| 02-Oct-2002 |
thorpej | Add trailing ; to CFATTACH_DECL.
|
1.20 |
| 30-Sep-2002 |
thorpej | Use CFATTACH_DECL().
|
1.19 |
| 27-Sep-2002 |
thorpej | Declare all cfattach structures const.
|
1.18 |
| 27-Sep-2002 |
thorpej | Rather than referencing the cfdriver directly in the cfdata entries, instead use a string naming the driver. The cfdriver is then looked up in a list which is built at run-time.
|
1.17 |
| 20-Mar-2002 |
eeh | Get rid of unnecessary BUS_SPACE_MAP_LINEAR.
|
1.16 |
| 11-Mar-2002 |
pk | Get rid of `bus_type_t' and use BUS_ADDR() (in sbus_bus_map()) to construct a `bus_addr_t' to pass on to bus_space_map().
Drop `va' argument from sbus_bus_map(); it should not be used by MI Sbus drivers.
|
1.15 |
| 13-Nov-2001 |
lukem | add RCSIDs
|
1.14 |
| 30-May-2001 |
mrg | branches: 1.14.2; use _KERNEL_OPT
|
1.13 |
| 20-Oct-2000 |
mrg | branches: 1.13.2; ensure DMA mappings are not mapped streamable. fixes ethernet problems on ultrasparc sbus class machines. from eeh.
|
1.12 |
| 20-Oct-2000 |
mrg | rework to use bus_dmamem_map() then bus_dmamem_load(), rather than bus_dmamem_load_raw() then bus_dmamem_map().
tested on SS2 and SS5 and sbus cards.
|
1.11 |
| 09-Jul-2000 |
pk | Add a `device class' interrupt level argument (from machine/intr.h) to bus_interrupt_establish().
It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt level to devices in PCI slots.
|
1.10 |
| 10-May-2000 |
pk | branches: 1.10.4; No need to specify page alignment; this is automatic.
|
1.9 |
| 10-May-2000 |
pk | Load DMA buffer before mapping it into kernel space.
|
1.8 |
| 09-May-2000 |
pk | Conform bus_dmamem_{alloc,map} usage to bus_dma(9) specs.
|
1.7 |
| 11-Jan-2000 |
pk | Remove old-style boot device recognition.
|
1.6 |
| 21-Nov-1999 |
pk | Check presence of Sbus interrupt properties before using them. Only one case is known to trigger this omission: a Sparc Classic configured as X terminal.
|
1.5 |
| 26-Sep-1998 |
pk | branches: 1.5.12; 1.5.18; hwreset(): delay required after diddling the medium selection bit.
|
1.4 |
| 06-Sep-1998 |
eeh | Removed some spurious `long's.
|
1.3 |
| 31-Aug-1998 |
pk | A few modest simplifications.
|
1.2 |
| 29-Aug-1998 |
pk | Adjust for some small changes in lsi64854 back-end driver.
|
1.1 |
| 29-Aug-1998 |
pk | Use bus_space_*() to access device registers. Add `esp' and `le' DMA engine.
|
1.5.18.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.5.12.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.10.4.2 |
| 25-Oct-2000 |
tv | Pullup 1.12 and 1.13 [mrg]: rework to use bus_dmamem_map() then bus_dmamem_load(), rather than bus_dmamem_load_raw() then bus_dmamem_map().
ensure DMA mappings are not mapped streamable. fixes ethernet problems on ultrasparc sbus class machines. from eeh.
|
1.10.4.1 |
| 19-Jul-2000 |
mrg | pull up sparc/sparc64 bus_intr_establish() changes, necessary for sparc64 (originally done by pk, approved by thorpej):
>Add a `device class' interrupt level argument (from machine/intr.h) >to bus_interrupt_establish(). > >It's currently only used in sparc64/dev/psycho.c to assign a CPU interrupt >level to devices in PCI slots.
|
1.13.2.5 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.13.2.4 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.13.2.3 |
| 01-Apr-2002 |
nathanw | Catch up to -current. (CVS: It's not just a program. It's an adventure!)
|
1.13.2.2 |
| 14-Nov-2001 |
nathanw | Catch up to -current.
|
1.13.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.14.2.4 |
| 10-Oct-2002 |
jdolecek | sync kqueue with -current; this includes merge of gehenna-devsw branch, merge of i386 MP branch, and part of autoconf rototil work
|
1.14.2.3 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.14.2.2 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.14.2.1 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.22.6.4 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.22.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.22.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.22.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.24.10.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.24.8.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.25.6.2 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.25.6.1 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.26.26.1 |
| 12-Mar-2007 |
rmind | Sync with HEAD.
|
1.27.20.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.27.16.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.27.14.1 |
| 26-Oct-2007 |
joerg | Sync with HEAD.
Follow the merge of pmap.c on i386 and amd64 and move pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup code to restore CR4 before jumping back into kernel space as the large page option might cover that.
|
1.27.2.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.28.16.1 |
| 02-Jun-2008 |
mjf | Sync with HEAD.
|
1.29.4.4 |
| 11-Mar-2010 |
yamt | sync with head
|
1.29.4.3 |
| 16-Sep-2009 |
yamt | sync with head
|
1.29.4.2 |
| 04-May-2009 |
yamt | sync with head.
|
1.29.4.1 |
| 16-May-2008 |
yamt | sync with head.
|
1.29.2.1 |
| 18-May-2008 |
yamt | sync with head.
|
1.30.18.1 |
| 21-Apr-2010 |
matt | sync to netbsd-5
|
1.30.14.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.30.10.1 |
| 19-Jun-2009 |
snj | Pull up following revision(s) (requested by tsutsui in ticket #818): sys/dev/sbus/if_le_ledma.c: revision 1.31 Don't immediately switch UTP/AUI ports on lost carrior. It may take a while for modern switches to set 10baseT media.
|
1.30.8.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.35.64.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|