Home | History | Annotate | Download | only in sbus
History log of /src/sys/dev/sbus/if_hme_sbus.c
RevisionDateAuthorComments
 1.35  15-Oct-2025  thorpej These drivers can use ether_getaddr() instead of prom_getether() now.
 1.34  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.33  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.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  17-May-2009  tsutsui u_intNN_t -> uintNN_t
 1.30  17-May-2009  tsutsui Split device_t/softc.
Tested PCI HME on i386. Sbus HME is compile test only.
 1.29  17-May-2009  tsutsui Use device_private() to get struct sbus_softc from device_t parent.

XXX: sbus_softc has been split from device_t on sparc, but not on sparc64!?
 1.28  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.27  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.26  14-Mar-2009  dsl ANSIfy another 1261 function definitions.
The only ones left in sys are beyond by sed script!
(or in sys/dist or sys/external)
Mostly they have function pointer parameters.
 1.25  14-Mar-2009  dsl Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.24  28-Apr-2008  martin branches: 1.24.8; 1.24.14;
Remove clause 3 and 4 from TNF licenses
 1.23  05-Apr-2008  cegger branches: 1.23.2; 1.23.4;
use aprint_*_dev and device_xname
 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  10-Dec-2002  pk branches: 1.17.6;
Remove the `flags' argument from bus_intr_establish().
 1.16  02-Oct-2002  thorpej Add trailing ; to CFATTACH_DECL.
 1.15  30-Sep-2002  thorpej Use CFATTACH_DECL().
 1.14  27-Sep-2002  thorpej Declare all cfattach structures const.
 1.13  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.12  23-Aug-2002  thorpej Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.
 1.11  20-Mar-2002  eeh branches: 1.11.4; 1.11.6;
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  05-Oct-2001  thorpej Minor tidying up of the HME driver attach:
- Print nicer-looking message.
- Use bus_space_subregion() when appropriate, rather than arithmetic
on a bus_space_handle_t.
 1.7  26-Sep-2001  eeh getprop* -> PROM_getprop*
 1.6  28-Feb-2001  mrg branches: 1.6.2; 1.6.4; 1.6.6;
match SUNW,qfe; PR#12301 from Rob Quinn <rquinn@sprint.net>
 1.5  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.4  25-Jun-2000  eeh Get PCI HME working.
 1.3  21-Nov-1999  pk branches: 1.3.4;
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.2  04-Nov-1999  mrg find "SUNW,hme" as well as "hme". this matches the onboard
ultra2 hme. haven't actually tested this beyond it probing
because my scsibus is hanging. anyway, it reports:

hme0 at sbus0 slot 14 offset 0x8c00000 vector 21 ipl 6: address 08:00:20:8f:7f:8f
 1.1  27-Jun-1999  pk branches: 1.1.2; 1.1.4; 1.1.6; 1.1.10;
Add the Sbus front-end for the HME driver.
 1.1.10.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.6.1  15-Nov-1999  fvdl Sync with -current
 1.1.4.2  12-Mar-2001  bouyer Sync with HEAD.
 1.1.4.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.1.2.2  01-Jul-1999  thorpej Sync w/ -current.
 1.1.2.1  27-Jun-1999  thorpej file if_hme_sbus.c was added on branch chs-ubc2 on 1999-07-01 23:36:01 +0000
 1.3.4.2  31-Jul-2000  mrg pull up 1.5 (approved by thorpej):
>Get PCI HME working.
 1.3.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.6.2  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.6.6.1  01-Oct-2001  fvdl Catch up with -current.
 1.6.4.5  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.6.4.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.6.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.6.4.2  16-Mar-2002  jdolecek Catch up with -current.
 1.6.4.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.6.2.7  11-Dec-2002  thorpej Sync with HEAD.
 1.6.2.6  18-Oct-2002  nathanw Catch up to -current.
 1.6.2.5  27-Aug-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  22-Oct-2001  nathanw Catch up to -current.
 1.6.2.1  08-Oct-2001  nathanw Catch up to -current.
 1.11.6.1  22-Nov-2002  tron Pull up revision 1.12 (requested by martin in ticket #948):
Use the structures defined in bsd_openprom.h for "reg", "range",
and "intr" properties, rather than having identical-except-for-names
sbus_* and iommu_* versions.
 1.11.4.1  29-Aug-2002  gehenna catch up with -current.
 1.17.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.17.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.17.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.17.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.6  11-Mar-2010  yamt sync with head
 1.23.4.5  16-Sep-2009  yamt sync with head
 1.23.4.4  20-Jun-2009  yamt sync with head
 1.23.4.3  16-May-2009  yamt sync with head
 1.23.4.2  04-May-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.24.14.2  23-Jul-2009  jym Sync with HEAD.
 1.24.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.24.8.1  28-Apr-2009  skrll Sync with HEAD.

RSS XML Feed