Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/gemreg.h
RevisionDateAuthorComments
 1.16  17-Aug-2021  andvar fix multiplei repetitive typos in comments, messages and documentation. mainly because copy paste code big amount of files are affected.
 1.15  02-Jul-2012  jdc Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
- add an additional watchdog for RX overflow
- re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.
 1.14  15-Sep-2008  jdc branches: 1.14.4; 1.14.28; 1.14.34;
Minor corrections to the SBus definitions, from the `Sbus GEM Specification':
http://mediacast.sun.com/users/Barton808/media/gem_sbus-1.pdf
 1.13  07-May-2008  jdc branches: 1.13.2; 1.13.6;
Correct Sbus register definitions.
 1.12  06-May-2008  jdc Add some Sbus-specific definitions (more registers and more values in the
Sbus Config register).
 1.11  05-Jan-2008  jdc branches: 1.11.6; 1.11.8; 1.11.10;
Add support for Sun PCI X1141A (SX fibre) cards, based on the GEM
documentation, experimentation and a previous patch from John Heasley.

Add improvements to the driver based on the GEM documentation and
from FreeBSD if_gem.c (rev 1.45).
 1.10  12-Apr-2007  dyoung branches: 1.10.8; 1.10.14; 1.10.20;
Make the members of the descriptors volatile, because the NIC and
the host share them.

Before breaking out of the loop over descriptors in gem_rint(),
DMA-resynchronize the first Rx descriptor we found that does not
belong to the host. We must avoid a cached descriptor "covering"
a descriptor in RAM, because the cached descriptor may say that
the descriptor still belongs to the NIC, when that is not true,
and the driver will hang.

XXX I believe this driver only works by luck on hosts that both
XXX have a cacheline size greater than the size of a descriptor
XXX (16 bytes) and lack DMA/cache coherency. I need to add some
XXX trickery to make sure that we don't scribble over the NIC's
XXX changes to a descriptor when we flush a cached descriptor to
XXX RAM with bus_dmamap_sync(9).
 1.9  24-Nov-2006  martin branches: 1.9.2; 1.9.4; 1.9.8; 1.9.10; 1.9.16;
In preparation for gem @ sbus: split the GEM registers into two halfs
and provide a bus_space_handle_t for each. While there, fix a typo
in gem_bitwait().
 1.8  11-Dec-2005  christos branches: 1.8.20; 1.8.22;
merge ktrace-lwp.
 1.7  18-Feb-2005  heas branches: 1.7.6;
Adjust/add a few comments, add a few bitmask_snprintf formats, and add
register definitions for hardware checksums and the PCS (the fiber interface
version of a MII).
 1.6  17-Oct-2004  heas branches: 1.6.4; 1.6.6;
Adjust/add a few comments and add defines for PCS (aka GEM_MII) FSM and
interrupt registers.
drop some trailing WS.

no functional changes.
 1.5  02-Nov-2003  wiz Fix some typos. From Tom Cosgrove via jmc@openbsd.
 1.4  11-May-2002  matt branches: 1.4.10;
Many fixes. Multicast hash filter works now. Autonegotiation with GigE
on Mac G4's now works. XXX Checksum offload still needs to be done.
 1.3  08-May-2002  matt If the detected media is gigabit, change the gem to use GMII mode otherwise
switch back to MII mode. Keep a sliding window for TX segments and when it
gets > 2/3 full, request a TX interrupt (window gets reset when the h/w TX
queue is empty). Add dv_xname to a few printfs. With the above changes,
the gem driver will now work on Macintoshes, even in GigE mode. On a 733
PowerMac G4 it gets ~355Mb/s TX and ~280Mb/s RX to/from an Alpha XP1000.

XXX mii autoselect is still flakey.
 1.2  18-Oct-2001  thorpej branches: 1.2.4;
Manipulate the Tx desc pointer as 2 32-bit values, just as
we do with the Rx desc pointer, both for consistency, and
for platforms which don't have bus_space_*_8().
 1.1  16-Sep-2001  eeh branches: 1.1.2; 1.1.4;
Driver for Sun GEM gigabit ethernet, Sun ERI 10/100, and Apple GMAC.
 1.1.4.2  01-Oct-2001  fvdl Catch up with -current.
 1.1.4.1  16-Sep-2001  fvdl file gemreg.h was added on branch thorpej-devvp on 2001-10-01 12:45:35 +0000
 1.1.2.4  20-Jun-2002  nathanw Catch up to -current.
 1.1.2.3  22-Oct-2001  nathanw Catch up to -current.
 1.1.2.2  21-Sep-2001  nathanw Catch up to -current.
 1.1.2.1  16-Sep-2001  nathanw file gemreg.h was added on branch nathanw_sa on 2001-09-21 22:35:37 +0000
 1.2.4.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.4.1  18-Oct-2001  thorpej file gemreg.h was added on branch kqueue on 2002-01-10 19:54:29 +0000
 1.4.10.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.4.10.4  19-Oct-2004  skrll Sync with HEAD
 1.4.10.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.10.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.10.1  03-Aug-2004  skrll Sync with HEAD
 1.6.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.6.4.1  29-Apr-2005  kent sync with -current
 1.7.6.3  21-Jan-2008  yamt sync with head
 1.7.6.2  03-Sep-2007  yamt sync with head.
 1.7.6.1  30-Dec-2006  yamt sync with head.
 1.8.22.1  10-Dec-2006  yamt sync with head.
 1.8.20.1  12-Jan-2007  ad Sync with head.
 1.9.16.1  03-Jun-2008  skrll Sync with netbsd-4.
 1.9.10.1  11-Jul-2007  mjf Sync with head.
 1.9.8.1  27-May-2007  ad Sync with head.
 1.9.4.1  15-Apr-2007  yamt sync with head.
 1.9.2.1  17-May-2008  bouyer Pull up following revision(s) (requested by jdc in ticket #1145):
src/share/man/man4/gem.4 1.5,1.6 via patch
src/sys/arch/sparc64/conf/GENERIC 1.97 via patch
src/sys/dev/ic/gem.c 1.59,1.61-1.68,1.70-1.73 via patch
src/sys/dev/ic/gemreg.h 1.11 via patch
src/sys/dev/ic/gemvar.h 1.16,1.18 via patch
src/sys/dev/mii/bmtphy.c 1.24 via patch
src/sys/dev/pci/if_gem_pci.c 1.25,1.27 via patch
src/sys/dev/pci/pcidevs 1.12 via patch
src/sys/dev/pci/pcidevs.h regenerate
src/sys/dev/pci/pcidevs_data.h regenerate
Add support for Sun PCI X1141A (SX fibre) cards.
Add improvements to the driver.
Disable HW UDP4 and RX TCP4 checksums because they are buggy (PR#34799)
Add improvements to bmtphy.
 1.10.20.1  08-Jan-2008  bouyer Sync with HEAD
 1.10.14.1  18-Feb-2008  mjf Sync with HEAD.
 1.10.8.1  09-Jan-2008  matt sync with HEAD
 1.11.10.2  04-May-2009  yamt sync with head.
 1.11.10.1  16-May-2008  yamt sync with head.
 1.11.8.1  18-May-2008  yamt sync with head.
 1.11.6.2  28-Sep-2008  mjf Sync with HEAD.
 1.11.6.1  02-Jun-2008  mjf Sync with HEAD.
 1.13.6.1  19-Oct-2008  haad Sync with HEAD.
 1.13.2.1  24-Sep-2008  wrstuden Merge in changes between wrstuden-revivesa-base-2 and
wrstuden-revivesa-base-3.
 1.14.34.1  05-Jul-2012  riz Pull up following revision(s) (requested by jdc in ticket #401):
sys/dev/ic/gem.c: revision 1.99
sys/dev/ic/gemvar.h: revision 1.24
sys/dev/ic/gemreg.h: revision 1.15
Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
- add an additional watchdog for RX overflow
- re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.
 1.14.28.1  30-Oct-2012  yamt sync with head
 1.14.4.1  15-Sep-2012  bouyer Pull up following revision(s) (requested by jdc in ticket #1789):
sys/dev/ic/gem.c: revision 1.99 via patch
sys/dev/ic/gemvar.h: revision 1.24 via patch
sys/dev/ic/gemreg.h: revision 1.15 via patch
Apply lockup fixes from Havard Eidnes/OpenBSD in PR port-sparc64/46260:
- add an additional watchdog for RX overflow
- re-initialise the chip on device timeout
Also alter the interrupt blanking rate to 8 packets, as per OpenSolaris.

RSS XML Feed