freebsd-dev/sys
Bill Paul d25bb2d026 Modify the Adaptec "starfire" driver to reset the PHY on the MII bus
before selecting a mode. The Seeq PHY chips on the Adaptec cards that
use the AIC-6915 controller seem to need it in order to get them to
change modes correctly.

This corrects a problem that I noticed where my ANA-62022 board failed
to correctly program the full duplex bit in the macconfig1 register
when the interface was brought up. Running ifconfig sf0 would mask this
problem in some cases because polling the PHY status would cause the
miibus code to notice that full duplex was now needed and the statchg
callback would be invoked to configure the duplex setting. However it
would still get it wrong other times.

Also changed sf_miibus_statchg() to program the IPG register to match
the duplex setting in accordance with Adaptec manual's recommendations
(0x15 for full duplex, 0x11 for half duplex).
1999-12-05 20:02:45 +00:00
..
alpha Add the if_dc driver and remove all of the al, ax, dm, pn and mx drivers 1999-12-04 17:41:31 +00:00
amd64 Don't use a bogus bus number for Ross host-pci bridges. 1999-12-05 18:41:34 +00:00
boot Supported to sound beep. 1999-12-03 13:20:55 +00:00
cam Add back in a prefatory TUR when the tape is *not* mounted. This seems 1999-12-04 01:13:59 +00:00
coda s/p_cred->pc_ucred/p_ucred/g 1999-11-21 12:38:21 +00:00
compat Fix LINT breakage. 1999-12-05 18:49:09 +00:00
compile
conf Switch over to using the generic joy driver 1999-12-05 20:02:19 +00:00
contrib Fix typo, add $FreeBSD$ 1999-12-03 00:34:26 +00:00
ddb Remove unused macro definition. 1999-11-02 22:40:15 +00:00
dev Modify the Adaptec "starfire" driver to reset the PHY on the MII bus 1999-12-05 20:02:45 +00:00
fs Merged NetBSD version, as they have done improvements: 1999-12-03 20:37:40 +00:00
geom Convert various pieces of code to use vn_isdisk() rather than checking 1999-11-22 10:33:55 +00:00
gnu struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
i4b Call i4b_l4_drvrdisc, not i4b_l4_disconnect_ind to bring the link 1999-11-28 16:17:01 +00:00
i386 Switch over to using the generic joy driver 1999-12-05 20:02:19 +00:00
isa newbusify and port the joy driver to the Alpha. It now attaches to the 1999-12-05 19:51:40 +00:00
isofs/cd9660 Next step in the device cleanup process. 1999-11-09 14:15:33 +00:00
kern correct incomplete last change 1999-12-03 09:10:04 +00:00
libkern Eliminate compiler warning. 1999-12-01 22:56:51 +00:00
miscfs Collect read and write counts for filesystems. This new code 1999-12-01 02:09:30 +00:00
modules Add pci_if.h to SRCS so that dcphy will build. 1999-12-05 01:39:11 +00:00
msdosfs struct mountlist and struct mount.mnt_list have no business being 1999-11-20 10:00:46 +00:00
net Make the stub routines have the same prototypes as the real bpf 1999-12-03 09:59:02 +00:00
netatalk
netatm Fix a warning (unused variable RCSid) 1999-11-18 08:18:13 +00:00
netgraph New netgraph node type, ng_bpf(8). This node type allows you to 1999-12-03 21:21:49 +00:00
netinet Change the delayed ack time from 200ms to 100ms. 1999-12-02 03:25:19 +00:00
netinet6 Just to avoid warning message about trigraph. 1999-11-30 16:24:36 +00:00
netipx Get rid of the old XNS checksum code and implement it the IPX way. 1999-08-28 18:21:55 +00:00
netkey KAME netinet6 basic part(no IPsec,no V6 Multicast Forwarding, no UDP/TCP 1999-11-22 02:45:11 +00:00
netnatm
netncp Change structure field named 'toupper' to 'to_upper' to avoid conflict 1999-11-02 22:46:42 +00:00
netns
nfs The symlink implementation could improperly return a NULL vp along with 1999-11-30 06:56:15 +00:00
nfsclient The symlink implementation could improperly return a NULL vp along with 1999-11-30 06:56:15 +00:00
nfsserver nm_srtt and nm_sdrtt are arrays[4]. Remove explicit initialization 1999-11-22 04:50:09 +00:00
ntfs Merged NetBSD version, as they have done improvements: 1999-12-03 20:37:40 +00:00
nwfs Remove abuse of struct nameidata. 1999-11-27 17:46:04 +00:00
pc98 Sync with sys/i386/i386/machdep.c revision up to 1.381. 1999-12-04 12:35:05 +00:00
pccard Remove the 'ivars' arguement to device_add_child() and 1999-12-03 08:41:24 +00:00
pci Modify the Adaptec "starfire" driver to reset the PHY on the MII bus 1999-12-05 20:02:45 +00:00
posix4
powerpc Use %ll instead of %q as gcc moans bitterly about it. 1999-11-22 15:23:58 +00:00
rpc
svr4 General clean-up of socket.h and associated sources to synchronise up 1999-11-24 20:49:04 +00:00
sys Switch over to using the generic joy driver 1999-12-05 20:02:19 +00:00
tools Add usbdevs and friends. 1999-11-18 18:02:44 +00:00
ufs Remove the 'alpha, use at your own risk' death-statement. 1999-12-03 00:40:31 +00:00
vm Report swapdevices as cdevs rather than bdevs. 1999-11-29 21:37:18 +00:00
Makefile ${MACHINE} -> ${MACHINE_ARCH} 1999-11-14 13:54:44 +00:00