Home | History | Annotate | Download | only in sbus
History log of /src/sys/dev/sbus/if_gem_sbus.c
RevisionDateAuthorComments
 1.15  15-Oct-2025  thorpej These drivers can use ether_getaddr() instead of prom_getether() now.
 1.14  25-Sep-2022  thorpej Remove unnecessary include of <sys/malloc.h>.
 1.13  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.12  04-Aug-2009  martin Fix small oversight in device_t/softc split. Pointed out by <jdc>.
 1.11  27-Jul-2009  dyoung Do a complete device_t/softc split for the PCI attachment. I have
not finished the device_t/softc split for the SBus attachment
because I don't have an SBus gem(4) to test with.

Convert from legacy shutdownhooks to a PMF shutdown hook. Add PMF
suspend/resume handlers.

Factor a detachment hook out of gem_attach(). During device
attachment, track which resources are reserved in sc_attach_state,
and release only those resources during detachment.

Tested on gem0 and gem1 at pci1 on a Sun Fire V120.
 1.10  12-May-2009  cegger struct device * -> device_t, no functional changes intended.
 1.9  12-May-2009  cegger struct cfdata * -> cfdata_t, no functional changes intended.
 1.8  20-Nov-2008  jdc branches: 1.8.4;
Read the chip revision from the Sbus register.
 1.7  06-May-2008  jdc branches: 1.7.6; 1.7.8;
Add more initialisation steps (read reset register; pause; set burst size
in config register).

This fixes the continuous interrupt stream previously seen. It is now
possible to run `ifconfig gem0 up`. However, "gem0: device timeout"
messages appear and we don't appear to receive any interrupts.
 1.6  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5  28-Apr-2008  jdc Set (and display) the chip revision.
Set the GEM_SUN_GEM flag.
 1.4  05-Apr-2008  cegger branches: 1.4.2; 1.4.4;
use aprint_*_dev and device_xname
 1.3  22-Mar-2008  jdc Check the "shared-pins" property for the value "serdes".
Makes SBUS GEM 1000Base-SX cards attach.
 1.2  19-Oct-2007  ad branches: 1.2.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.1  24-Nov-2006  martin branches: 1.1.4; 1.1.6; 1.1.8; 1.1.14; 1.1.28; 1.1.30; 1.1.34;
Snapshot of work in progress gem @ sbus attachement. Don't use at home
yet!
Thanks to Steve Rikli for providing hardware and test equipement,
and to uwe for a lot help understanding the hardware.
 1.1.34.1  25-Oct-2007  bouyer Sync with HEAD.
 1.1.30.1  06-Nov-2007  matt sync with HEAD
 1.1.28.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.1.14.1  23-Oct-2007  ad Sync with head.
 1.1.8.2  12-Jan-2007  ad Sync with head.
 1.1.8.1  24-Nov-2006  ad file if_gem_sbus.c was added on branch newlock2 on 2007-01-12 00:57:48 +0000
 1.1.6.4  24-Mar-2008  yamt sync with head.
 1.1.6.3  27-Oct-2007  yamt sync with head.
 1.1.6.2  30-Dec-2006  yamt sync with head.
 1.1.6.1  24-Nov-2006  yamt file if_gem_sbus.c was added on branch yamt-lazymbuf on 2006-12-30 20:49:33 +0000
 1.1.4.2  10-Dec-2006  yamt sync with head.
 1.1.4.1  24-Nov-2006  yamt file if_gem_sbus.c was added on branch yamt-splraiseipl on 2006-12-10 07:18:15 +0000
 1.2.16.3  17-Jan-2009  mjf Sync with HEAD.
 1.2.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.2.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.4.4.5  11-Mar-2010  yamt sync with head
 1.4.4.4  19-Aug-2009  yamt sync with head.
 1.4.4.3  16-May-2009  yamt sync with head
 1.4.4.2  04-May-2009  yamt sync with head.
 1.4.4.1  16-May-2008  yamt sync with head.
 1.4.2.1  18-May-2008  yamt sync with head.
 1.7.8.1  19-Jan-2009  skrll Sync with HEAD.
 1.7.6.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.8.4.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

RSS XML Feed