Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/rtl80x9.c
RevisionDateAuthorComments
 1.19  31-Dec-2023  isaki ne(4): Write CR0 properly.
Writing 0b000 to RD2-0 in CR0 appears harmless, but it is "not allowed"
by the RTL8019AS (and several NE2000 derived) datasheets.
 1.18  25-Apr-2019  msaitoh KNF. No functional change.
 1.17  25-Apr-2019  msaitoh No functional change:
- Use __arraycount().
- u_int_{8,16,32}_t -> uint_{8,16,32}_t
- KNF.
- Tabify.
- Remove extra space.
 1.16  16-Jun-2014  msaitoh branches: 1.16.28;
IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.
 1.15  14-Mar-2009  dsl branches: 1.15.18; 1.15.22; 1.15.36;
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.14  28-Apr-2008  martin branches: 1.14.8; 1.14.14;
Remove clause 3 and 4 from TNF licenses
 1.13  12-Mar-2008  cube branches: 1.13.2; 1.13.4;
Split device_t and softc for the NE2000 Ethernet chip and all its variants
and attachments. Use device_t accessors, correct types, and ANSIfy when
appropriate.
 1.12  19-Oct-2007  ad branches: 1.12.12; 1.12.16;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.11  11-Dec-2005  christos branches: 1.11.30; 1.11.44; 1.11.46; 1.11.50;
merge ktrace-lwp.
 1.10  28-Oct-2003  mycroft branches: 1.10.16;
Kill another bogus initializer.
 1.9  25-Oct-2003  christos Fix uninitialized variable warnings
 1.8  13-Nov-2001  lukem branches: 1.8.16;
add/cleanup RCSID
 1.7  08-Jul-2001  thorpej branches: 1.7.2;
Remove unnecessary include files, from Onno van der Linden.
 1.6  12-Jun-2001  thorpej Don't need INET or NS includes here.
 1.5  12-Feb-2001  thorpej branches: 1.5.2;
Adjust the way that media is initialized on DP8390-compatible
chips. The dp8390_softc now has media_init and media_fini
function pointers that do the work.
 1.4  28-Apr-2000  is change 10base-t media _setting_ to set autodetect instead.
Contrary to what the rtl8019 docs say, this seems to be necessary.
Observed by myself when implementing non-auto earlier, and independently
complained about by Antti Kante in PR 9962.
 1.3  03-Mar-2000  is - we didn't write enable toe config1-3 registers before trying to set the
media.
- read out original settings to find out what the defaults (EEPROM) for this
board were, instad of hardwiring to auto.
XXX the first might need further refinement. At least on my boards, 10baseT
doesn't work for 10baseT, only AUTO.
 1.2  08-Nov-1998  veego branches: 1.2.4; 1.2.12;
We don't need the pci headers here.
 1.1  31-Oct-1998  thorpej Code common to RealTek 8019 and 8029 NE2000-compatible Ethernet chips.
Includes media selection support and support for Full-duplex.
 1.2.12.2  12-Mar-2001  bouyer Sync with HEAD.
 1.2.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.2.4.1  11-Dec-1998  kenh The beginnings of interface detach support. Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.
 1.5.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.5.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.5.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.7.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.8.16.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.16.2  18-Sep-2004  skrll Sync with HEAD.
 1.8.16.1  03-Aug-2004  skrll Sync with HEAD
 1.10.16.2  17-Mar-2008  yamt sync with head.
 1.10.16.1  27-Oct-2007  yamt sync with head.
 1.11.50.1  25-Oct-2007  bouyer Sync with HEAD.
 1.11.46.2  23-Mar-2008  matt sync with HEAD
 1.11.46.1  06-Nov-2007  matt sync with HEAD
 1.11.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.11.30.1  23-Oct-2007  ad Sync with head.
 1.12.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.12.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.12.12.1  24-Mar-2008  keiichi sync with head.
 1.13.4.2  04-May-2009  yamt sync with head.
 1.13.4.1  16-May-2008  yamt sync with head.
 1.13.2.1  18-May-2008  yamt sync with head.
 1.14.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.14.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.15.36.1  10-Aug-2014  tls Rebase.
 1.15.22.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.18.1  09-Nov-2014  martin Pull up following revision(s) (requested by msaitoh in ticket #1189):
sys/dev/pci/if_wm.c: revision 1.270
sys/dev/mii/inphy.c: revision 1.53
sys/dev/mii/glxtphy.c: revision 1.24
sys/dev/mii/tlphy.c: revision 1.62
sys/dev/mii/iophy.c: revision 1.37
sys/dev/mii/brgphy.c: revision 1.70
sys/dev/mii/ihphy.c: revision 1.8
sys/dev/mii/bmtphy.c: revision 1.31
sys/dev/mii/urlphy.c: revision 1.30
sys/dev/mii/makphy.c: revision 1.40
sys/dev/mii/qsphy.c: revision 1.48
sys/dev/mii/igphy.c: revision 1.23
sys/dev/mii/nsphy.c: revision 1.58
sys/dev/mii/mvphy.c: revision 1.10
sys/dev/pci/if_txp.c: revision 1.41
sys/dev/mii/nsphy.c: revision 1.59
sys/dev/mii/rlphy.c: revision 1.28
sys/dev/mii/icsphy.c: revision 1.49
sys/dev/mii/rlphy.c: revision 1.29
sys/dev/mii/lxtphy.c: revision 1.49
sys/dev/mii/ciphyreg.h: revision 1.5
sys/dev/mii/nsphyter.c: revision 1.38
sys/dev/mii/sqphy.c: revision 1.50
sys/dev/mii/gentbi.c: revision 1.26
sys/dev/mii/gentbi.c: revision 1.27
sys/dev/mii/tqphy.c: revision 1.39
sys/dev/mii/ikphy.c: revision 1.10
sys/dev/mii/dmphy.c: revision 1.35
sys/dev/mii/amhphy.c: revision 1.20
sys/dev/mii/acphy.c: revision 1.24
sys/dev/mii/ciphy.c: revision 1.25
sys/dev/mii/brgphyreg.h: revision 1.8
sys/dev/mii/ukphy_subr.c: revision 1.12
sys/dev/ic/rtl80x9.c: revision 1.16
sys/arch/mips/adm5120/dev/if_admsw.c: revision 1.12
sys/dev/pci/if_kse.c: revision 1.28
sys/dev/mii/ukphy_subr.c: revision 1.13
sys/dev/mii/mii.h: revision 1.18
sys/dev/mii/gphyter.c: revision 1.29
No functional change:
- Fix typo.
- Remove trailing white spaces.
- Capitalize comments.
- Tabify.
- KNF.
IFM_FDX and IFM_HDX use different bit, so set IFM_HDX bit if it's not full
duplex. For many drivers, it recognize half duplex if IFM_FDX isn't set,
but not for others. Same as {Free|Open}BSD.
 1.16.28.1  10-Jun-2019  christos Sync with HEAD

RSS XML Feed