freebsd-dev/sys
Bill Paul 3d927b9b51 Close PR #13665. I managed to figure out the problem, no thanks to the
submitter, who *still* hasn't bothered to answer me back.

The thing which the submitter completely failed to mention is that
his 3c900B-TPO card has the transceiver selection in the EEPROM set
to "auto." You can tweak the setting using the 3C90XCFG.EXE utility
that 3Com provides with the card. I'm not sure if it's supposed to
default to auto or if the user fiddled with it. Currently, the xl
driver only does autoselection for 10/100 NICs (i.e. those with NWAY
autonegotiation capabilities). For the 10baseT, 10base5, 10base2,
10baseFL and 100baseFX cards, the driver sets the default media to
whatever the EEPROM transceiver selector says. The problem is that
the "auto" selection is mistakenly identified as "10/100 NWAY
autoselection mode" and this is not handled correctly: the default
media ends up being chosen as 100baseTX, which doesn't work because
we've only added 10baseT media types to the ifmedia word. This leads
to a panic in ifmedia_set() (something else which the submitter never
bothered to mention).

A workaround for this is to re-run the 3C90XCFG.EXE utility and change
the transceiver selection to something besides "auto." I have also
patched the driver to watch for the "auto" setting in the non-miibus
case and select a reasonable default based on the card type instead of
falling through to 100baseTX and exploding.

PR:		misc/13665
1999-09-20 20:26:14 +00:00
..
alpha Fix bug in pipe code relating to writes of mmap'd but illegal address 1999-09-20 19:08:48 +00:00
amd64 Fix bug in pipe code relating to writes of mmap'd but illegal address 1999-09-20 19:08:48 +00:00
boot netboot removed until somebody fixes it so it compiles 1999-09-09 01:28:26 +00:00
cam Remove unneeded disk-related includes. 1999-09-12 08:23:21 +00:00
coda Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
compat This is what was "fdfix2.patch," a fix for fd sharing. It's pretty 1999-09-19 17:00:25 +00:00
compile
conf On PIIX4 based SMP systems use the PMTMR register for timecounting. 1999-09-20 07:52:39 +00:00
contrib Use devstat_end_transaction_buf() rather than Use devstat_end_transaction() 1999-09-18 21:30:27 +00:00
ddb $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
dev Un-do the changes to the DRIVER_MODULE() declarations in these drivers. 1999-09-20 19:06:45 +00:00
fs Step one of replacing devsw->d_maxio with si_bsize_max. 1999-09-20 19:57:28 +00:00
geom Use devstat_end_transaction_buf() rather than Use devstat_end_transaction() 1999-09-18 21:30:27 +00:00
gnu Step one of replacing devsw->d_maxio with si_bsize_max. 1999-09-20 19:57:28 +00:00
i4b Finish making LINT compile. Disable references to pnp in files that 1999-09-03 20:38:47 +00:00
i386 Set si_iosize_max rather than d_maxio. 1999-09-20 19:58:38 +00:00
isa Two more devstat_end_transaction() -> devstat_end_transaction_buf(). 1999-09-19 12:43:34 +00:00
isofs/cd9660 Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
kern Initialize vp->v_maxio to its default in getnetvnode() rather than 1999-09-20 19:53:23 +00:00
libkern $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
miscfs Step one of replacing devsw->d_maxio with si_bsize_max. 1999-09-20 19:57:28 +00:00
modules Change the name of the installed KLM to contain a leading "if_". 1999-09-20 06:11:48 +00:00
msdosfs Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
net Don't call if_up() here, just set IFF_UP. 1999-09-14 01:17:30 +00:00
netatalk
netatm Fixed printf format errors (don't assume that ntohl() returns u_long; 1999-08-29 10:28:10 +00:00
netinet Change so_cred's type to a ucred, not a pcred. THis makes more sense, actually. 1999-09-19 02:17:02 +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 Fix a printf(3) formatter to match its variable. 1999-08-17 22:11:02 +00:00
netnatm
netns $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs Add comment to clarify a commit rpc optimization already being performed. 1999-09-20 19:10:28 +00:00
nfsclient Add comment to clarify a commit rpc optimization already being performed. 1999-09-20 19:10:28 +00:00
nfsserver Asynchronized client-side nfs_commit. NFS commit operations were 1999-09-17 05:57:57 +00:00
ntfs Seperate the export check in VFS_FHTOVP, exports are now checked via 1999-09-11 00:46:08 +00:00
pc98 Set si_iosize_max rather than d_maxio. 1999-09-20 19:58:38 +00:00
pccard $Id$ -> $FreeBSD$ 1999-09-06 11:23:05 +00:00
pci Close PR #13665. I managed to figure out the problem, no thanks to the 1999-09-20 20:26:14 +00:00
posix4 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
powerpc Fix bug in pipe code relating to writes of mmap'd but illegal address 1999-09-20 19:08:48 +00:00
rpc $Id$ -> $FreeBSD$ 1999-08-27 23:45:13 +00:00
svr4 This is what was "fdfix2.patch," a fix for fd sharing. It's pretty 1999-09-19 17:00:25 +00:00
sys Step one of replacing devsw->d_maxio with si_bsize_max. 1999-09-20 19:57:28 +00:00
tools $Id$ -> $FreeBSD$ (some mangled and/or hidden ones) 1999-08-28 02:21:15 +00:00
ufs Step one of replacing devsw->d_maxio with si_bsize_max. 1999-09-20 19:57:28 +00:00
vm Fix bug in pipe code relating to writes of mmap'd but illegal address 1999-09-20 19:08:48 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00