freebsd-dev/sys
Bill Paul 554e54b5de Add preliminary support for the RealTek 8169 gigE chip. Changes:
- Fix a bug in rl_dma_map_desc(): set the 'end of ring' bit in the
  right descriptor (DESC_CNT - 1, not DESC_CNT). The 8139C+ is limited
  to 64 descriptors and automatically wraps at 64 descriptors even
  if the EOR bit isn't set, but the 8169 NIC can have up to 1024
  descriptors per ring, so we must set the wrap point in the right
  place.

- RealTek moved the RL_TIMERINT register from offset 0x54 to 0x58 in
  the 8169 -- account for this.

- Added rl_gmii_readreg() and rl_gmii_writereg() routines.

- Fix rl_probe() to deal with the case where the base type is
  not RL_8139.

The next step is to add jumbo buffer support.

Tested with the Xterasys XN-152 NIC (hard to beat $29 for a gigE NIC).
2003-08-07 07:00:30 +00:00
..
alpha - Since td_critnest is now initialized in MI code, it doesn't have to be 2003-08-04 20:32:45 +00:00
amd64 In _bus_dmamap_load_buffer(), only count the number of bounce pages needed if 2003-08-04 23:40:35 +00:00
arm Style sync. 2003-08-03 07:50:19 +00:00
boot Fix asm string newlines to keep gcc3.3 happy. Use register prefixes 2003-08-05 11:30:18 +00:00
cam Remove all USB quirks that only specify DA_Q_NO_6_BYTE. They are no longer 2003-08-06 17:30:03 +00:00
coda Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
compat Remove dangling extern reference to swap_pager_full 2003-08-06 18:40:49 +00:00
conf fix disordering of filenames. Place the dev/ppc files in alphabetical 2003-08-04 02:39:14 +00:00
contrib Add includes to fix user-compilation of acpica. Also clarify a comment 2003-08-07 04:46:17 +00:00
crypto Use __FBSDID(). 2003-06-10 21:44:29 +00:00
ddb Update the 'ps', 'show pci', and 'show ktr' ddb commands to use the new 2003-07-31 17:29:42 +00:00
dev Don't use pessimal (u_short) types for i/o ports. This is mainly for 2003-08-06 18:06:30 +00:00
fs Don't drop giant around ->d_strategy(), too much code explodes. 2003-08-06 06:49:18 +00:00
geom Kick Giant compatibility one layer up. 2003-08-02 10:11:58 +00:00
gnu Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
i4b Undo agressive inlining which GCC previously wisely ignored. 2003-07-23 17:58:41 +00:00
i386 Remove trailing newlines (from the right branch this time) 2003-08-07 04:33:47 +00:00
ia64 In cpu_set_upcall_kse(), create the upcall according to the entry 2003-08-06 23:28:19 +00:00
isa Dont initialize a TSC timecounter until we know if it is broken or not. 2003-08-06 15:05:27 +00:00
isofs/cd9660 Add a "int fd" argument to VOP_OPEN() which in the future will 2003-07-26 07:32:23 +00:00
kern - Remove GIANT_REQUIRED from pipe_free_kmem(). 2003-08-07 04:32:40 +00:00
libkern Backed out the micro-optimization in 1.4. It was to help gcc-2.6.3 2003-07-25 15:54:23 +00:00
modules When compiling the module with INVARIANTS we also need INVARIANT_SUPPORT. 2003-08-06 16:01:32 +00:00
net Remove the ATMIOCENA and ATMIOCDIS ioctl. Everyting has been converted 2003-08-06 14:53:27 +00:00
net80211 add monitor mode 2003-07-21 02:49:42 +00:00
netatalk - Use if_broadcastaddr from struct ifnet rather than relying on 2003-03-21 17:53:16 +00:00
netatm The number of prefixes can never be negative so use an u_int for this. 2003-07-29 13:46:43 +00:00
netgraph Process events from the ATM drivers. Carrier change and PVC change 2003-07-29 16:27:23 +00:00
netinet Ups. I forgot this one in the SIOCATMENA/SIOCATMDIS removal commit. 2003-08-06 15:56:37 +00:00
netinet6 introduced a flag bit "ND6_IFF_ACCEPT_RTADV" in the nd_ifinfo structure to 2003-08-05 14:57:11 +00:00
netipsec consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
netipx Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netkey Use __FBSDID(). 2003-06-11 05:37:42 +00:00
netnatm Remove the last vestiges of ATM raw mode. This has not been useful for a 2003-08-06 14:34:38 +00:00
netncp size_t != int. Make this compile on 64 bit platforms (eg: amd64). 2003-07-24 01:59:18 +00:00
netsmb Reserve space for the trailing null byte in the srvname member of 2003-07-27 11:36:00 +00:00
nfs Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfsclient Fix a problem that occurs when truncating files on NFSv3 mounts: we need 2003-07-29 00:17:29 +00:00
nfsserver Change idle state sleep identifier to "-" for nfsd. 2003-07-02 08:08:32 +00:00
opencrypto consolidate callback optimization check in one location by adding a flag 2003-06-30 05:09:32 +00:00
pc98 Merged from sys/dev/sio/sio.c revision 1.400. 2003-08-02 09:41:31 +00:00
pccard Add comment point o2micro people to NEWCARD 2003-08-01 16:10:48 +00:00
pci Add preliminary support for the RealTek 8169 gigE chip. Changes: 2003-08-07 07:00:30 +00:00
posix4 Use __FBSDID(). 2003-06-11 06:34:30 +00:00
powerpc - Since td_critnest is now initialized in MI code, it doesn't have to be 2003-08-04 20:32:45 +00:00
rpc
security Attempt to simplify #ifdef logic for MAC_ALWAYS_LABEL_MBUF. 2003-08-01 15:45:14 +00:00
sparc64 - Since td_critnest is now initialized in MI code, it doesn't have to be 2003-08-04 20:32:45 +00:00
sys Increase SMALL_PIPE_SIZE from 4096 to PAGE_SIZE. 2003-08-07 00:03:29 +00:00
tools Don't check the state of the vnode interlock if the specification says 2003-06-22 21:20:06 +00:00
ufs Now that the central POSIX.1e ACL code implements functions to 2003-08-04 03:29:13 +00:00
vm Make the first two pages magic to protect the BSD labels rather than 2003-08-06 14:13:38 +00:00
Makefile Revert exclusion for amd64 that stopped boot/ being built. 2003-06-26 03:52:48 +00:00