Commit Graph

7102 Commits

Author SHA1 Message Date
is
d8bf2eb8ef - we didn't write enable toe config1-3 registers before trying to set the
media.
- read out original settings to find out what the defaults (EEPROM) for this
  board were, instad of hardwiring to auto.
XXX the first might need further refinement. At least on my boards, 10baseT
doesn't work for 10baseT, only AUTO.
2000-03-03 21:37:18 +00:00
oster
88a8d06a0b Use the common disk allocation code, rather doing things the old way. 2000-03-03 03:47:17 +00:00
oster
142175b1a1 Minor formatting cleanup. 2000-03-03 03:10:03 +00:00
oster
7b1139520e More minor cleanup. 2000-03-03 02:04:48 +00:00
oster
87f46374bb Minor cleanup. No functional changes. 2000-03-03 01:46:36 +00:00
augustss
2dda67d4a2 Fix typo in argument to ratecheck(). 2000-03-02 15:49:29 +00:00
augustss
d6c4ac7ff2 Use ratecheck() to limit error messages on disconnect.
Break out some common functionality.
2000-03-02 12:37:50 +00:00
enami
e924f6f853 Minor cleanups. 2000-03-02 10:29:22 +00:00
enami
48721f291a Fix typo and thinko in previous commit. 2000-03-02 05:54:22 +00:00
enami
027db8bf87 Add ifmedia support so that dhcp happy. Also, add nwid support. 2000-03-02 05:00:47 +00:00
enami
a5921b902e Check if device is active in the interrupt handler and the one second
tick handler.
2000-03-02 01:21:56 +00:00
thorpej
285a315e99 Simplify the winlist code. 2000-03-01 23:40:26 +00:00
thorpej
ac1b683642 Amend previous; pay attention to EX_CONF_MII on deactivate, too. 2000-03-01 20:53:11 +00:00
thorpej
448dfa4249 Only detach PHYs if we have MII in the first place, and remove a bunch
of #if 0'd code which was copied from the Tulip driver.
2000-03-01 20:51:50 +00:00
thorpej
54e0e80815 Cosmetic change. 2000-03-01 20:50:56 +00:00
thorpej
08483fcddc When unmapping these on detach, pass the BAR to unmap (not the type of
the BAR!!)
2000-03-01 20:50:37 +00:00
augustss
3218dd992d Protect the use of bpf_mtap so bpf isn't needed.
aue: Limit the number of error messages at disconnect by using ratecheck().
2000-03-01 19:00:51 +00:00
augustss
ba4e755a9c Change the cmd argument in {audio,mixer}_ioctl() to u_long. 2000-03-01 00:44:35 +00:00
augustss
7d05674ba7 Distinguish between device and interface classes.
(I finally found a document that said that they were different.)
2000-02-29 21:37:00 +00:00
hubertf
a6a5be8ccf This driver also handles the 3COM 3COM HomeConnect Ethernet USB Adapter
(3C460), rev 1.00/2.05
2000-02-29 19:08:09 +00:00
hubertf
b95fbdaeb7 Regen 2000-02-29 19:07:33 +00:00
hubertf
eff003f7ce add product ID for 3COM 3COM HomeConnect Ethernet USB Adapter (3C460),
rev 1.00/2.05
2000-02-29 19:06:40 +00:00
oster
8cde772948 Oops.. Need to note the parity status when we unconfigure.
Noted by Aaron J. Grier. (Thanks!)
2000-02-29 16:54:29 +00:00
ad
c09a9a072f Oops, pasto. 2000-02-29 11:14:46 +00:00
thorpej
d788e0dbad Make sure to initialize xs->req_sense_length (to 0). This appears to be
a historical leftover, and very few drivers actually look at it.  But the
PCI `ncr' driver does, and if this field is not initialized to its default
value, that driver will fall over flat on its face when it attempts to get
sense data from a target.
2000-02-28 17:44:20 +00:00
takemura
32817a3257 WSMOUSE_SCALIBCOORDS had not worked because ioctrl code was wrong. 2000-02-28 12:34:31 +00:00
joda
c627d45cc3 (fxp_init): don't clear the FXPF_MII flag as this results in a panic
when detaching
2000-02-28 10:16:17 +00:00
jdolecek
86ae2ab1fc Add ADEV_NOSENSE quirk for HITACHI CDR-7730.
Patch sent by Hume Smith in kern/9489.
2000-02-28 09:46:25 +00:00
mycroft
a87f80ad5f Give the VPP bits better names. 2000-02-28 07:33:08 +00:00
mycroft
17f933f6ce Add missing break that hosed multicast. 2000-02-28 06:44:52 +00:00
enami
d2b929f576 Fix naming think-o. 2000-02-28 05:30:19 +00:00
enami
8841a11f4d - Disestablish an interrupt if failed to enable the card.
- If card isn't enabled, just set given information into softc.  Addresses
  PR#9457.
- Some cleanups and cosmetic changes.
2000-02-27 23:10:51 +00:00
enami
71df610aeb Remove no longer necessary workaround for hpcmips. 2000-02-27 22:57:20 +00:00
augustss
10d9610df8 Make this driver actually work in NetBSD. From Castor Fu <castor@geocast.com> 2000-02-27 22:15:24 +00:00
augustss
7b4eccb432 Use DPRINTF for debug messages. 2000-02-27 21:06:55 +00:00
augustss
739151c214 Regen. 2000-02-27 20:44:22 +00:00
augustss
741c59a303 Add the QuickShot Strikepad game-pad. 2000-02-27 20:43:53 +00:00
augustss
45b36632c0 Add code (off by default) to keep track of the signal strength of the last
few packets received from different MAC addresses.
2000-02-27 20:40:42 +00:00
mycroft
61cc77895b Some minor cleanup to the probe code. 2000-02-27 20:01:05 +00:00
uch
20e5cfa32f Billionton Systems Inc. LNT-10TN card. 2000-02-27 11:15:47 +00:00
uch
d386caeaec regen. 2000-02-27 11:14:43 +00:00
uch
663c327808 Add Billionton Systems Inc. LNT-10TN NE2000 Compatible card. 2000-02-27 11:14:03 +00:00
mycroft
9a06ea04a2 Fix the same race condition while initializing the socket. 2000-02-27 03:25:03 +00:00
mycroft
7794bfe183 Reorder the usage of intr_establish/intr_disestablish with respect to setting
the CSC_INTR register, to insure that the IRQ is not left floating and enabled
at any point.  Eliminates stray interrupts during the IRQ probe.
2000-02-27 03:08:00 +00:00
oster
8c46e74418 Nuke some debugging output that got left in by mistake. 2000-02-27 02:35:33 +00:00
oster
82419f5ae9 Only mark the components as CLEAN if it's the last thing we're doing.
Marking them CLEAN earlier is (currently) asking for trouble.
(XXX This could have been done more elegantly.)
2000-02-27 01:50:22 +00:00
mycroft
a3ae8af043 Allow a flag to be set to force polling for socket events. 2000-02-27 00:14:27 +00:00
uch
16c31080a5 IT8368E legacy mode requires mode change between I/O access and
attribute memory access. XXX
2000-02-26 19:02:22 +00:00
oster
d9c47013b2 Defopt 'RAID_AUTOCONFIG'. Adding 'options RAID_AUTOCONFIG' turns on
the component auto-detection and auto-configuration of RAID sets.
Also, add "#options RAID_AUTOCONFIG" to the GENERIC config files.
2000-02-26 17:35:33 +00:00
thorpej
6f1701b01c Put a lock on the pcic, to serialize access to the chip during event
handling.  This is important when multiple cards are present when
the system boots, as we use tsleep now instead of delay in various
places (delay used to provide serialization by virtue of not causing
a context switch).
2000-02-26 17:24:44 +00:00