Home | History | Annotate | Download | only in sbus
History log of /src/sys/dev/sbus/if_le_lebuffer.c
RevisionDateAuthorComments
 1.30  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.29  29-May-2019  msaitoh KNF. No functional change.
 1.28  19-Jan-2010  pooka branches: 1.28.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.27  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.26  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.25  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.24  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.23  04-Apr-2008  tsutsui branches: 1.23.2; 1.23.4;
Split device_t/softc for le(4) and variants and misc cosmetic changes.
 1.22  19-Oct-2007  ad branches: 1.22.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.21  11-Dec-2005  christos branches: 1.21.30; 1.21.44; 1.21.46; 1.21.50;
merge ktrace-lwp.
 1.20  04-Feb-2005  perry branches: 1.20.6;
de-__P
 1.19  17-Mar-2004  pk branches: 1.19.8; 1.19.10;
Rename PROM_getprop*() => prom_getprop*().
 1.18  15-Mar-2004  pk Replace myetheraddr() by prom_getether().
 1.17  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.16  10-Dec-2002  pk branches: 1.16.6;
Remove the `flags' argument from bus_intr_establish().
 1.15  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.14  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.13  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.12  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.11  20-Mar-2002  eeh Get rid of unnecessary BUS_SPACE_MAP_LINEAR.
 1.10  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.9  13-Nov-2001  lukem add RCSIDs
 1.8  26-Sep-2001  eeh getprop* -> PROM_getprop*
 1.7  30-May-2001  mrg branches: 1.7.2; 1.7.4;
use _KERNEL_OPT
 1.6  09-Jul-2000  pk branches: 1.6.2;
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.5  11-Jan-2000  pk branches: 1.5.4;
Remove old-style boot device recognition.
 1.4  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.3  29-Aug-1998  pk branches: 1.3.12; 1.3.18;
Use bus_space_*() to access device registers.
Add `esp' and `le' DMA engine.
 1.2  15-Aug-1998  mycroft Assign my copyrights to TNF.
 1.1  27-Jul-1998  pk Lance front-ends on Sbus moved here.
 1.3.18.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.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.5.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.6.2.6  11-Dec-2002  thorpej Sync with HEAD.
 1.6.2.5  18-Oct-2002  nathanw Catch up to -current.
 1.6.2.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.6.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.6.2.2  08-Oct-2001  nathanw Catch up to -current.
 1.6.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.7.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.7.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.7.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.7.2.2  16-Mar-2002  jdolecek Catch up with -current.
 1.7.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.16.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.16.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.16.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.16.6.1  03-Aug-2004  skrll Sync with HEAD
 1.19.10.1  12-Feb-2005  yamt sync with head.
 1.19.8.1  29-Apr-2005  kent sync with -current
 1.20.6.1  27-Oct-2007  yamt sync with head.
 1.21.50.1  25-Oct-2007  bouyer Sync with HEAD.
 1.21.46.1  06-Nov-2007  matt sync with HEAD
 1.21.44.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.21.30.1  23-Oct-2007  ad Sync with head.
 1.22.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.23.4.3  11-Mar-2010  yamt sync with head
 1.23.4.2  16-Sep-2009  yamt sync with head
 1.23.4.1  16-May-2008  yamt sync with head.
 1.23.2.1  18-May-2008  yamt sync with head.
 1.28.64.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed