Commit Graph

26315 Commits

Author SHA1 Message Date
thorpej
b097394468 Factor out some common code from all the PHY drivers (autonegotiation, for
now.)
1998-11-04 23:07:15 +00:00
thorpej
844622de9c Define and use generic PHY read/write reg macros. 1998-11-04 22:15:40 +00:00
tsubai
8634976fb2 Move conversion of PRAM-time to UNIX-time to clock.c (like mac68k). 1998-11-04 15:06:13 +00:00
chs
28411139b3 be consistent with locking of amaps and anons when freeing them. 1998-11-04 07:07:22 +00:00
chs
e4c4ea06b4 remove outdated comment. 1998-11-04 07:06:05 +00:00
itohy
2d3363a6d0 regen. 1998-11-04 06:41:57 +00:00
itohy
b0e0dc2101 (manufacturer, product) = (0x149, 0x265) is used both
"Linksys EthernetCard" and some new versions of "D-Link DE-650".
Changed the product string as such.
1998-11-04 06:40:54 +00:00
itohy
5bf12ef4b9 Allow newer versions of D-Link DE650 cards (the manufacturer and
the product are valid and the same as Linksys EthernetCard's) work
with the current ne driver.
Somewhat kludgy.
1998-11-04 06:37:09 +00:00
chs
23ed4b5656 we must unlock a vp's object's lock before calling vrele(). 1998-11-04 06:21:40 +00:00
chs
61458d7dfa LOCKDEBUG enhancements for non-MP:
keep a list of locked locks.
use this to print where the lock was locked
when we either go to sleep with a lock held
or try to free a locked lock.
1998-11-04 06:19:55 +00:00
fvdl
42921bd66d Add the ex driver. 1998-11-04 00:40:03 +00:00
fvdl
21ab4a980a Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. 1998-11-04 00:31:59 +00:00
fvdl
7b10c3e7e4 Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards. Rename
constants from EP_ to ELINK_ since they're now used in the ex driver as well.
1998-11-04 00:29:28 +00:00
fvdl
28221c24db Add info for ex driver. 1998-11-04 00:28:05 +00:00
thorpej
6768f892cc Add sqphy. 1998-11-03 23:52:50 +00:00
thorpej
b5ebc7dd87 Driver for Seeq 80220/80221/80223 10/100 Ethernet PHYs. 1998-11-03 23:51:29 +00:00
tron
46f5a5f507 Make "src/sys/arch/i386/stand" compile again. 1998-11-03 22:00:37 +00:00
tron
873f0be1cd Sync with files in "src/lib/libz". 1998-11-03 15:49:39 +00:00
leo
4401599ff3 These should have been added together with leo.c a long while ago :-( Thanks
to 'entropy' for keeping an eye on me...
1998-11-03 14:50:15 +00:00
tsubai
0b3665db48 Add "Paddington" ID. 1998-11-03 12:15:57 +00:00
simonb
44dfb8ea2c Define the size of the members of utsname in terms of _SYS_NMLN, and
define SYS_NMLN if not POSIX or XOPEN source.
1998-11-03 10:08:32 +00:00
thorpej
7fe67ebc21 Add support for the Seeq 80c24 AutoDUPLEX media interface which was nuked
when this driver was changed to use the MAC-independent MII code.  This
"PHY" does not have a programming interface, but simply senses the duplex
mode from the link partner.  Since it is not possible to read the 80c24
to determine the link type or status, we consider this to be "manual".
1998-11-03 05:47:38 +00:00
thorpej
cbcaaa3bc3 Make sure that a delay loop actually has some delay in it, and use IFF_OACTIVE
as appropriate.
1998-11-03 05:04:49 +00:00
thorpej
49d750db09 Regen. 1998-11-03 05:02:25 +00:00
thorpej
8adfcb5246 Define the model ID of the Seeq 84220 10/100 PHY. 1998-11-03 05:01:49 +00:00
thorpej
19fd5d178f 3Com PHY can't be isolated, so don't allow IFM_NONE. 1998-11-03 00:18:18 +00:00
thorpej
ec38cdc6d9 Add icsphy*. 1998-11-03 00:12:45 +00:00
thorpej
3f98e69b07 Driver for the Integrated Circuit Systems ICS1980 10/100 PHY. 1998-11-02 23:46:20 +00:00
thorpej
1f074c785d When doing a media change service request, use the media word from the
current ifmedia_entry, not from the user-supplied media word.  The
user supplied media word may not necessarily match e.g. instance (if
the parent MAC driver is intentionally ignoring instance if its expecting
multiple PHYs with non-overlapping media, e.g. TI ThunderLAN) the media
word we are actually switching to.

Since PHY drivers use `instance' to determine if they should isolate
themselves, the ThunderLAN PHY was sometimes being incorrectly isolated
when in fact the user attempted to select that PHY (for e.g. BNC operation).
1998-11-02 22:31:36 +00:00
thorpej
be4ce8c3f4 Add "10baseT-FDX" and "100baseTX-FDX" aliases to the end of the subtype
table.  These are actually subtype+option combos, but these are the
strings displayed by the MII code to indicate 10Mbps full-duplex and
100Mbps full-duplex respectively, and it's Nice that ifconfig(8) can
grok them.
1998-11-02 22:10:26 +00:00
simonb
67f74ebee4 Implement the new BUFCACHE option. 1998-11-02 07:43:37 +00:00
ross
cee6f4a531 Implement the new BUFCACHE option. 1998-11-02 04:43:23 +00:00
tron
d9b5b0b01a Sync with files in "src/lib/libz". 1998-11-01 21:28:51 +00:00
hubertf
e45fa5e3bb add version for libkeycap 1998-11-01 17:14:27 +00:00
hubertf
eccf9ccdd8 s|share/misc|share/pcvt| 1998-11-01 16:37:06 +00:00
lukem
d04b2d9043 implement BUFCACHE, which sets the size of the buffer cache to BUFCACHE %
of physmem. if not set (or == 0), falls back to old sizing method.
1998-11-01 09:51:09 +00:00
christos
1cfb41e0d6 make this compile again (missing semi-colon) 1998-11-01 01:04:48 +00:00
mjacob
3bcd2ef84d fix botched printout format 1998-11-01 00:03:08 +00:00
mjacob
82b48f66b6 If NSIO not defined, compile errors. 1998-10-31 23:51:05 +00:00
is
e4d73206ab Make the exec header an automatic variable, instead of malloc()ed space.
Saves 60 bytes of code.
1998-10-31 22:40:27 +00:00
thorpej
d08eb2a32b Add code to detect a RealTek 8019 chip, and use the media selection
support if present.
1998-10-31 01:44:16 +00:00
matt
32a315ff7c Use the so_send and so_receive funcptrs in the socket instead of calling
sosend/soreceive directly.  [I've been meaning to commit these for months.]
1998-10-31 01:18:41 +00:00
thorpej
7d4ee06d3e Use the rtl80x9 common code for media selection. 1998-10-31 00:45:48 +00:00
thorpej
cd7f7eff85 Code common to RealTek 8019 and 8029 NE2000-compatible Ethernet chips.
Includes media selection support and support for Full-duplex.
1998-10-31 00:44:33 +00:00
thorpej
266aaad811 Define the "rtl80x9" attribute, to pull in code common to RealTek 8019
and 8029 NE2000-compatible Ethernet chips.
1998-10-31 00:43:19 +00:00
thorpej
fa97a53c11 Multiple inclusion protection. 1998-10-31 00:31:43 +00:00
thorpej
992f2906ba Move the RTL8029 register definitions to <dev/ic/rtl80x9reg.h>, and add
the registers/bits present in the RTL8019 (ISA version).
1998-10-31 00:27:41 +00:00
thorpej
de14bf4f80 Manuel confirms that defaulting to AUTO is ok, to Do It. 1998-10-30 23:30:16 +00:00
matt
2e00799098 Conditionalize include of <lib/libkern/libkern.h> with _STANDALONE (like
libsa/nfs.c does).  Fixes VAX libsa build problem.
1998-10-30 16:56:30 +00:00
lukem
80e1cdcee7 s/milieconds/milliseconds/ 1998-10-30 13:47:02 +00:00