Commit Graph

10562 Commits

Author SHA1 Message Date
thorpej 0b0010a7c3 When probing for a PHY, look at the EXTSTAT bit in the BMSR, as well,
not just the media mask.  This prevents PHYs/TBIs that only support
Gigabit media from slipping through the cracks.
2001-06-20 01:42:41 +00:00
thorpej 7e843c3ccb Device driver for the Sundance Tech. ST-201 10/100 Ethernet. This
chip is found on the D-Link DFE-550TX.
2001-06-19 23:00:47 +00:00
thorpej 7914a89b02 Add support for the Seeq 80225 10/100 Ethernet PHY. This is just
a stripped-down version of the 80220/80223.
2001-06-19 20:10:54 +00:00
thorpej 93169d8a94 Regen; added Seeq 80225 10/100 PHY. 2001-06-19 19:51:27 +00:00
thorpej 5d3c31d576 Add Seeq 80225 10/100 PHY. 2001-06-19 19:51:04 +00:00
wiz ac951736bc `response', not `responce' 2001-06-19 13:45:52 +00:00
wiz 3f9984fc90 `existent', not `existant' 2001-06-19 13:42:07 +00:00
wiz f3f6c5b675 `accessible' only has one `a'. 2001-06-19 12:52:20 +00:00
fvdl dd270d4a3f ifdef NISAPNP -> if NISAPNP > 0 2001-06-19 12:45:23 +00:00
lukem b7f8c7eb86 delint 2001-06-19 10:43:26 +00:00
simonb a8068ab82d Don't use argument names in function declarations. 2001-06-19 08:24:07 +00:00
jdolecek a7d6a8f2f1 The ifa is needed for CCITT&&LLC case, provide it in that case 2001-06-19 07:19:35 +00:00
oster 0e8f8213af A bunch of these bits are only needed for the EVENODD stuff.
Shaves a little better than 1K off the size of an i386 kernel.
2001-06-19 03:25:16 +00:00
thorpej 62224968e1 Add support for the Adaptec AIC-6915 10/100 Ethernet. This is
a 64-bit PCI chip, available in 1, 2, and 4 port models.
2001-06-18 22:05:35 +00:00
onoe 319ea4a342 make it compilable: delete unused variable 'ifa' from lance_ioctl() 2001-06-18 13:47:18 +00:00
onoe c07d2e1e96 Add Cisco/Aironet 350
Reported by Wolfgang Rupprecht <wolfgang@wsrcc.com>.
This doesn't fix PR 13181, which says the card doesn't work well.
2001-06-18 13:21:24 +00:00
onoe e523b2f091 regen: Add Cisco/Aironet 350 2001-06-18 13:19:07 +00:00
onoe 61285ac2da Add Cisco/Aironet 350 2001-06-18 13:18:08 +00:00
jdolecek e65b619faa Convert to use ether_ioctl() for SIOCSIFADDR and SIOCSIFFLAGS. 2001-06-18 11:06:26 +00:00
bouyer 49ed2592ce Add my copyrigth and remove the older ones. None of the original authors of
the st driver wrote something in this file.
2001-06-18 09:41:06 +00:00
bouyer 0a63f01fef Snapshot of ATAPI tapes support. Known to be able to read/write to tape with:
st0 at atapibus0 drive 1: <Seagate STT8000A, , 5.51> type 1 sequential
removable
Major changes may still happen in order to properly support other ATAPI
tape drives.
2001-06-18 09:05:05 +00:00
simonb 1506d21315 Make error checking/reporting a little more correct. 2001-06-18 01:58:08 +00:00
tsubai de98ab5b38 Regen. 2001-06-17 19:51:27 +00:00
tsubai b63b6d01e6 Add device IDs on the new iBook. 2001-06-17 19:50:33 +00:00
jdolecek adaaf11f9f make pckbc_slot_names[], pckbc_portcmd const 2001-06-17 16:15:41 +00:00
thorpej 4c49d6fa2a Split the Tx and Rx interrupt routines into separate functions,
and add some (optional) event counters.
2001-06-15 22:16:00 +00:00
nathanw f71391cb6c Move the check for successful attachment to earlier in the detach
routine, to avoid referencing nonexistent data structures.
2001-06-15 18:05:36 +00:00
bjh21 ddc6e8e6ad I've got an 8-bit Ether3, so I've discovered that the address mapping is
non-linear.  Comment it here so I don't forget.
2001-06-15 00:28:01 +00:00
mjacob 60a0137d9c Ooops- we need to allocate an array of pointers to scsipi_xfer structures
isp_maxcmds in length- not an array of scsipi_xfer structures isp_maxcmds
in length.
2001-06-14 19:54:07 +00:00
itojun 4d51fe368b change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).

was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.
2001-06-14 05:44:23 +00:00
oster 669f5cc5a5 It's silly to need a parity rebuild after a reconstruction has completed.
If we've just reconstructed a disk, then the parity is known to
be correct.  (XXX doesn't hold for RAID 6!)
2001-06-14 02:35:56 +00:00
thorpej 3078a3d26d It's pretty questionable to printf a PCI tag, but if we're going to
do so, at least make the printf compile across the board.
2001-06-14 01:06:56 +00:00
uch a9d7b546d6 make this work. 2001-06-13 19:02:13 +00:00
bjh21 bb5ca33de4 Add a driver for the HCCS IDE interface I got at Wakefield. Like the D.T.
Software one (dtide), it doesn't generate interrupts, so we run it in polled
mode.
2001-06-13 18:31:43 +00:00
bjh21 18c4c9eab3 Update to use the new support for IRQ-less IDE controllers.
Also generally re-work to do channel attachment in a loop, since that saves on
code size.
2001-06-13 18:29:40 +00:00
bjh21 6acf237023 Use the new generic mechanism for forcing polling on a SCSI interface, rather
than doing it ourselves.
2001-06-13 18:27:27 +00:00
bjh21 4bc5a3b295 Add explicit support for IDE and SCSI adaptors which don't support interrupts.
On such adaptors, all transfers are done in polling mode.

OK'ed by Manuel on tech-kern.
2001-06-13 18:17:38 +00:00
toddpw a865af9ad5 Enable attachment for Kingston KNE-PC2 Ethernet. 2001-06-13 13:41:01 +00:00
wiz c03a48d64f withough -> without 2001-06-13 10:45:57 +00:00
scw e13606c37b Workaround for buggy OPTi pciide chipset revisions, as reported
in PR/11644.
2001-06-13 09:55:25 +00:00
lukem d9db68b3fe be more specific about which interlan controller the qbus/if_il supports 2001-06-13 06:40:19 +00:00
simonb 6c4e6292a5 Regen; add IBM 405GP PCI Bridge & ROB-in i960RP Microprocessor. 2001-06-13 06:04:25 +00:00
simonb 18b2f7e6a1 Add a port to IBM's PPC405GP Reference Board (the "walnut")
by Eduardo Horvath and Simon Burge of Wasabi Systems.

IBM 4xx series CPU features:
 - New pmap and revised trap handler.
 - Support on-chip timers, PCI controller, UARTs
 - Framework for on-chip ethernet and watchdog timer.
General PowerPC features:
 - Add in-kernel PPC floating point emulation
 - New in{,4}_cksum that is between 1.5 and 5 times faster than the
   old version depending on CPU type.
General changes:
 - Kernel support for generic dbsym-style symbols.
2001-06-13 06:01:44 +00:00
thorpej 015345c74b Don't need INET or NS includes here. 2001-06-12 22:32:51 +00:00
thorpej 9988acd41e Don't need INET or NS includes here. 2001-06-12 22:28:15 +00:00
thorpej e103dbb4b0 Don't need NS-related headers here. 2001-06-12 22:05:53 +00:00
bjh21 18e8d752f6 No need to pull in INET or NS headers -- that's all done by ether_ioctl() now. 2001-06-12 20:53:39 +00:00
wiz 0a600be867 receive, not recieve 2001-06-12 15:17:10 +00:00
wiz 2a8c778f1b retrieve, not retreive 2001-06-12 14:59:27 +00:00
bjh21 cb6b68a931 Mention where I got the information for writing the driver. 2001-06-12 11:52:03 +00:00
bjh21 f6f3c9b35f Add a hefty comment about the stray IR bug, so I don't forget it. 2001-06-12 11:49:18 +00:00
wiz b50f28c38a underrun, not underun 2001-06-12 11:48:51 +00:00
uwe 1f4eee4c21 In wsfont_map_unichar: when checking that 'lo' is within 'map2' range,
compare 'lo', not 'hi' (only partially edited cut-n-paste it seems).
2001-06-12 00:57:10 +00:00
bjh21 33afab3251 Add a short-circuit return from wdcprobe for IDE controllers without pullup
resistors, which return the last value written to the bus on a read.  This
makes detecting empty channels on my HCCS and D.T. Software IDE interfaces
rather faster.
2001-06-11 21:18:36 +00:00
thorpej fb2f3ce7e5 Regen; Add Level One vendor ID, and LXT-1001 10/100/1000 Ethernet
product ID.
2001-06-11 21:13:49 +00:00
thorpej ec5280c1ed Add Level One product ID, and LXT-1001 10/100/1000 Ethernet
product ID.
2001-06-11 21:12:29 +00:00
fredette 274629aa08 Added support for the VME `sc' SCSI board. Compiles,
but needs testers as the author doesn't actually have
the hardware.
2001-06-11 15:09:54 +00:00
pk b9e61207ff Add nolun/nosync quirk for "IBM CDRM00201 !F"
See PR#13031.
2001-06-11 13:58:18 +00:00
sato a2c4938b03 not set HPCFB_SWAP_BYTE 2001-06-11 09:36:44 +00:00
tron a4401a8e5d Regen from "pcidevs". 2001-06-11 06:36:51 +00:00
tron 6caf1041cb Add support for the D-Link DFE-530TX+. Patch supplied by
Gabriel Rosenkoetter in PR kern/13161.
2001-06-11 06:36:23 +00:00
wiz 40ac848024 Fix various misspellings of compatible/compatibility. 2001-06-11 01:50:48 +00:00
wiz 0a3b1c29a1 transceiver, not transciever. 2001-06-11 01:19:53 +00:00
gmcgarry 6fee8596c7 Packet includes CRC, so mark it in the mbuf header. Fixes the
"discarding oversize frame (len=1518)" problem.
2001-06-10 21:53:08 +00:00
ragge 01c6253206 Only use b_proc if B_PHYS is set. 2001-06-10 18:41:27 +00:00
tron d29b7bb88c Regen from "usbdevs". 2001-06-10 13:10:46 +00:00
tron 8a6a34f18e Add Philips PCA646VC PC Camera. 2001-06-10 13:10:25 +00:00
tsubai 5a051092e4 Rename ofb_softc to ofbus_softc. (XXX Is this good name?) 2001-06-10 11:36:03 +00:00
ad bfac43a1c8 Centralise the geometry fudge. 2001-06-10 10:48:42 +00:00
ad 5f1286dfb9 Don't make assumptions about the contents of the system drive table. 2001-06-10 10:34:44 +00:00
scw 737763fde7 Forgot to commit this as part of the mvme68k evcnt(9) changes. 2001-06-10 08:27:42 +00:00
briggs acf06d2e27 If the adapter is returning a selection timeout, then we should be
returning XS_SELTIMEOUT, not XS_TIMEOUT.  Pointed out by Andrew Doran.
2001-06-09 18:08:20 +00:00
briggs 8c948a0386 Patches from takashi.yamamoto@bigfoot.com in kern/13139.
- Set XS_TIMEOUT on a selection timeout condition.
- Do not bother to call AscStartChip() in AscResetChipAndScsiBus()--
  just clear the chip status.
- Make sure address is word-aligned in AscWriteLramByte().

Tested on my adv (AdvanSys ABP-9xxUA) with CRW8424S and UMAX SuperVista S-12.
Earlier versions of the system would get stuck trying to recover from error
conditions when the CD-RW drive was in heavy use.  I have not seen that
behavior with these small patches.
2001-06-09 17:18:21 +00:00
bjh21 810a0b00f4 dtide is MI now. 2001-06-09 13:51:49 +00:00
tsutsui 14f1650c62 Remove unused members from SCSI command block structure. 2001-06-09 13:43:02 +00:00
tsutsui 9cd36c6539 Fix an uninitialized variable in #ifdef DIAGNOSTIC.
Pointed out by soda.
2001-06-09 12:59:50 +00:00
bjh21 e609865bbc Correct reference to dtide.c, and don't bother with the "channel" locator to
dtide, since ata provides that anyway.
2001-06-08 22:33:59 +00:00
bjh21 ca2047f7c6 Adapt the dtide driver to the MI podulebus framework, and move it to its new
home.  It still doesn't actually work, but that's a SMOP.
2001-06-08 20:13:24 +00:00
bjh21 837afd713e Regen 2001-06-08 20:09:07 +00:00
bjh21 e918a481e5 Move D.T. Software to their rightful place in the list, and correct the product
ID for their IDE interface.  I've no idea where 0x00ae came from.
2001-06-08 20:08:35 +00:00
mrg 054673b07c #endif /* takes no argument */ 2001-06-08 12:51:17 +00:00
enami 578730c551 Initialize sc->sc_anegticks to 5 on attach to prevent panic due to
assertion failure.
2001-06-08 07:09:40 +00:00
simonb e5bd00e48d For ports that wire up pciide in compatibility mode, have
them define __HAVE_PCIIDE_MACHDEP_COMPAT_INTR_ESTABLISH
in pci_machdep.h and pciide_map_compat_intr() only calls
pciide_machdep_compat_intr_establish() if that preprocessor
define exists.

Ports that don't need to do this no longer need to supply a
dummy function.
2001-06-08 04:48:54 +00:00
matt ef047f21f8 Add multiple inclusion protection. Define prototypes for openfirm
routines used in cdevsw.
2001-06-08 00:19:17 +00:00
mrg 59024512bd LKM friendly: move ev_out32() to netbsd32 specific code; add an ev_out32 hook. 2001-06-07 17:52:52 +00:00
briggs 7a3a78cfa3 Compile on sandpoint. 2001-06-07 16:48:09 +00:00
bouyer df4739c8cb Set TI_OPMODE_1_DMA_ACTIVE only if hardware assisted checksum isn't used
(FreeBSD does it this way). My Tigon II works with hardware assisted checksum
now.
2001-06-07 14:35:58 +00:00
enami 85fb541842 Fix typo; print sc->aue_intr_errs instead of sc->aue_rx_errs when
reporting interrupt errors.
2001-06-07 10:55:15 +00:00
leo 72510eee6d Make the WDC_{ATA|ATAPI}_NOSTREAM flags settable through configuration
options. Needed on the Atari Milan.
2001-06-07 06:33:48 +00:00
thorpej ff5871412e Correct the receive mode mask in the RXCMD register. 2001-06-07 05:19:26 +00:00
thorpej 025decbccb Don't clear a callout on a scsipi_xfer that has been scsipi_done()'d. 2001-06-07 03:44:00 +00:00
soren 26603afde8 Update URL to documentation PDF. 2001-06-06 22:11:42 +00:00
uch 03e1c3aa16 implement HPCFB_SWAP_BYTE. 2001-06-05 17:29:12 +00:00
uch b596bfa2d0 add vc_reverse flag to struct video_chip. 2001-06-05 15:02:40 +00:00
uch a4221d6b08 change behavior of cmap_work_alloc(). 2001-06-05 15:02:12 +00:00
tsutsui 15f8692183 Make some functions __inline. 2001-06-05 12:42:44 +00:00
thorpej 8ee014b439 Handle the DL10022 case. 2001-06-05 02:31:16 +00:00
thorpej c619444a71 Use the DL10019 media routines on the DL10019 and DL10022 (a change
I forgot to commit long ago).
2001-06-05 02:27:02 +00:00
ragge cae5d5a796 Lock the kernel lock at interrupt enter. 2001-06-04 21:31:28 +00:00
mrg 46762d3560 fix lint exposed by GCC 3.0 20010604 (prerelease). 2001-06-04 20:56:51 +00:00