freebsd-dev/sys
Bill Paul 19e7516669 Fix up the RealTek 8139 driver to work on FreeBSD/alpha. This involves a
few changes:

- there was a bug in rl_list_tx_init(): it was calculating the registers
  to initialize incorrectly. Not a problem on the x86 where unaligned
  access are allowed, but a problem on the alpha.

- set rl_btag accordingly depending on the machine type

- rl_rxeof() needs to be sure to longword-align the packet data. This
  is a little tricky since we copy the data out of the receive buffer
  using m_devget(), however there's no way to tell m_devget() to fill
  in the mbufs starting at a particular offset. To get around this,
  we tell m_devget to copy bytes+2 bytes starting at offset offset-2. This
  results in the proper alignment, and we can trim off the two leading
  bytes afterwards with m_adj(). We also allocate some extra space before
  the start of the receive buffer so that we don't get into trouble in
  the case where offset == 0.

- redefine vtophys() in if_rlreg.h for the alpha.

Making this chipset work on the alpha is sort of the inverse of putting
a jet engine on a rowboat (putting a propeller on a 747?) but when
you can get these things for $5 a pop, it's hard to stop people from
buying them.
1999-06-19 20:17:38 +00:00
..
alpha Adjust mcclock lines to avoid config(8) warning. 1999-06-19 13:12:51 +00:00
amd64 Harmless change to prevent possible problems in the future. I made 1999-06-18 19:24:40 +00:00
boot Change active flag handling; sanity check passed drive number; pass 1999-06-18 21:49:18 +00:00
cam Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
coda Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
compat Divorce "dev_t" from the "major|minor" bitmap, which is now called 1999-05-11 19:55:07 +00:00
compile
conf Adjust mcclock lines to avoid config(8) warning. 1999-06-19 13:12:51 +00:00
contrib Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
ddb Removed an especially bogus cast. 1999-05-13 13:01:46 +00:00
dev sioprobe: Don't try to initialize disabled ports. In particular, 1999-06-19 08:14:56 +00:00
fs Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
geom This commit should be a extensive NO-OP: 1999-05-30 16:53:49 +00:00
gnu Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
i4b devsw and cdevsw_add() changes for i4b. 1999-06-01 08:46:56 +00:00
i386 K6-family MTRR support 1999-06-18 19:56:02 +00:00
isa sioprobe: Don't try to initialize disabled ports. In particular, 1999-06-19 08:14:56 +00:00
isofs/cd9660 Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
kern Changed the global `idt' from an array to a pointer so that npx.c 1999-06-18 14:32:21 +00:00
libkern Add a fast version of bcmp which compares longwords at a time. 1999-06-19 16:30:28 +00:00
miscfs Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
modules Print verbose messages when there is error. 1999-06-16 14:04:45 +00:00
msdosfs Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
net Add a new interface ioctl, to return "aux status". 1999-06-19 18:42:31 +00:00
netatalk Change suser_xxx() to suser() where it applies. 1999-04-27 12:21:16 +00:00
netatm Allow configuration of up to 256 network interfaces per physical interface - 1999-05-10 23:02:29 +00:00
netinet This is the much-awaited cleaned up version of IPFW [ug]id support. 1999-06-19 18:43:33 +00:00
netipx Suser() simplification: 1999-04-27 11:18:52 +00:00
netkey #ifdef out unused function key_freetables. 1999-01-12 12:38:31 +00:00
netnatm Examine all occurrences of sprintf(), strcat(), and str[n]cpy() 1998-12-04 22:54:57 +00:00
netns
nfs Thanks to Bruce for noticing this.... compare against the *new* nfsnode's 1999-06-19 19:33:44 +00:00
nfsclient Thanks to Bruce for noticing this.... compare against the *new* nfsnode's 1999-06-19 19:33:44 +00:00
nfsserver Various changes lifted from the OpenBSD cvs tree: 1999-06-05 05:35:03 +00:00
ntfs Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pc98 New parallel port support for PC98. Old PC98s which have 1999-06-18 14:48:28 +00:00
pccard Simplify cdevsw registration. 1999-05-31 11:29:30 +00:00
pci Fix up the RealTek 8139 driver to work on FreeBSD/alpha. This involves a 1999-06-19 20:17:38 +00:00
posix4 Well folks, this is it - The second stage of the removal for build support 1999-04-17 08:36:07 +00:00
powerpc Replace my previous fix of saving the FP state with a much simpler one: when 1999-06-10 20:40:59 +00:00
rpc
svr4 Ack! I deleted "struct", not "const".. Oh boy... 1999-05-10 12:38:41 +00:00
sys Add a new interface ioctl, to return "aux status". 1999-06-19 18:42:31 +00:00
tools Add a vnode argument to VOP_BWRITE to get rid of the last vnode 1999-06-16 23:27:55 +00:00
ufs On our final pass through ffs_fsync, do all I/O synchronously so that 1999-06-18 05:49:46 +00:00
vm Remove some unused function and variable declarations. 1999-06-19 18:42:53 +00:00
Makefile Use MACHINE_ARCH instead of MACHINE to check x86 architecture. 1999-06-03 10:38:07 +00:00