Commit Graph

907 Commits

Author SHA1 Message Date
dyoung
e31cc884ed Adapt awi(4) to the new 802.11 layer. 2003-10-13 08:10:48 +00:00
dyoung
ef743c64b6 Switch wi(4) to the new 802.11 layer. 2003-10-13 08:07:21 +00:00
dyoung
2459b02669 Switch an(4) to using the header files in the new 802.11 layer. 2003-10-13 06:45:32 +00:00
dyoung
5dbbaac41d Switch to the new 802.11 layer. 2003-10-13 06:43:22 +00:00
bouyer
99d6009c2a Make the ATA mid-layer appears as atabus, as proposed in
http://mail-index.netbsd.org/tech-kern/2003/09/25/0006.html
This adds a device (atabus) between IDE controllers and wd or atapibus, to
have each ATA channel show up in the device tree. Later there will be atabus
devices in /dev, so that we can do IOCTL on them.
Each atabus has its own kernel thread, to handle operations that needs polling,
e.g. reset and others.

Device probing on each bus it defered to the atabus thread creation.
This allows to do the reset and basic device probes in parallel, which reduce
boot time on systems with several pciide controllers.
2003-10-08 10:58:12 +00:00
pooka
dae7af8b24 Ready the kernel side of i4b for primary rate interface support by
removing assumptions that there are only two B channels and by
adding support for a varying number of channels.

Due to this, rename previously used isdn identified "bri" to "isdnif",
which better describes the current situation.
2003-10-03 16:38:44 +00:00
mycroft
eefae40298 Hide the use of config_interrupts() in one place. 2003-09-25 19:29:48 +00:00
mycroft
f9d629fb93 Fix more probe delay and/or failure problems:
1) Don't wait for DRQ on an IDENTIFY command -- if it's not set when we see
   BSY clear, abort the command and ignore the drive.  (Do this by testing
   for DRQ in the read/write cases in __wdccommand_intr().)
2) Don't wait for DRQ to deassert when we finish an IDENTIFY (or any other
   non-block command that reads data) -- we don't do this for block I/O, and
   empirically it doesn't clear on my CF cards at all, causing a pointless 1s
   delay.
3) Add comments to some of the delay()s, and add missing ones in wdcreset()
   and the WDCC_RECAL in the so-called "pre-ATA" probe.
4) Slightly simplify the reset sequence -- we were doing an extra I/O.
5) Modify the register writability test to make sure that registers are not
   overlapped -- this can happen in some weird cases with a missing device 1.
6) Check the error register value after the reset -- if it's not 01h or 81h,
   as appropriate (see ATA spec), punt.
Tested with a number of ATA-only, ATAPI-only, mixed ATA-ATAPI, CF, and IDE
disk configurations.

Also remove the SINGLE_DRIVE nonsense again.
2003-09-23 09:19:22 +00:00
bouyer
c6beeca692 Since we can't detect ghost drives in the wdc back-end, resurect
WDC_CAPABILITY_SINGLE_DRIVE.
2003-09-21 11:14:00 +00:00
mycroft
d40837608f 1) Use config_interrupts() to attach IDE and ATAPI drives. This eliminates
most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
   (it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
   *_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
   drives more quickly.
2003-09-19 21:35:56 +00:00
onoe
1a258bf241 Add Sony PEGA-WL110 CF WLAN 2003-09-16 08:28:55 +00:00
onoe
ac09f329a5 regen: Add Sony PEGA-WL110 CF WLAN 2003-09-16 08:27:33 +00:00
onoe
19cb1c084b Add Sony PEGA-WL110 CF WLAN 2003-09-16 08:26:37 +00:00
ichiro
be42cc58d7 regen. 2003-09-11 11:34:46 +00:00
ichiro
7c4ee7e804 add product
Quatech Inc, PCMCIA Enhanced Parallel Port Card
2003-09-11 11:34:18 +00:00
ichiro
867de3d367 add support IO-DATA PCET/TX-R EthernetCard 2003-09-02 12:43:02 +00:00
agc
aad01611e7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-08-07 16:26:28 +00:00
martin
cd55ccd237 Add support for socket communications 10/100 CF ethernet card.
From Scott Renfro in PR 22260.
2003-07-26 10:41:31 +00:00
martin
37b2869671 Regen (added socket communications 10/100 CF ethernet card) 2003-07-26 10:40:33 +00:00
martin
911cca8a10 Add socket communications 10/100 CF ethernet card. 2003-07-26 10:39:32 +00:00
itojun
7f6ed16ef4 function prototype must not have variable name 2003-07-08 10:06:28 +00:00
martin
d505b18964 Make sure to include opt_foo.h if a defflag option FOO is used. 2003-06-23 11:00:59 +00:00
kristerw
2c7ae90e5b ISO C requires a statement after a label. 2003-05-16 23:55:32 +00:00
gmcgarry
45f7813d26 Regen: NTT DoCoMO PALDIO 611S PCMCIA 2003-05-02 07:17:18 +00:00
gmcgarry
d9925c605d Add NTT DoCoMO PALDIO 611S PCMCIA.
From PR#9768.
2003-05-02 07:16:40 +00:00
christos
e3eb9da887 regen 2003-04-09 02:10:57 +00:00
christos
81e522b516 A cardflash NE2000 from Michael Francini francini at mindspring dot com. 2003-04-09 02:09:55 +00:00
matt
374319260c Don't free chqueue since it's no longer malloc'ed. 2003-03-30 02:06:29 +00:00
perry
3942053914 regen 2003-03-29 16:48:02 +00:00
perry
c0eb24419a support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932 2003-03-29 16:47:27 +00:00
ichiro
cb6506defc regen 2003-03-27 12:20:07 +00:00
ichiro
26d61dcb91 add product TOSHIBA PA2673U CBIDE2 (IODATA OEM) 2003-03-27 12:19:44 +00:00
matt
d641dc322f Don't malloc channel_queue, put it in the softc instead. 2003-03-22 20:09:35 +00:00
martin
ae13b3f806 bus_size_t != bus_addr_t, so use bus_size_t where appropriate.
Fixes PR kern/20482 by John Ruschmeyer.
2003-02-27 07:50:57 +00:00
simonb
5eb4a89fef Remove assigned-to but not used variable. 2003-02-23 04:15:02 +00:00
tsutsui
29849ba3b6 hz -> Hz 2003-02-22 05:06:36 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
kanaoka
ebd3830c6f Add support for SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:21:20 +00:00
kanaoka
c3ce5c6811 Regen. Add SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:20:18 +00:00
kanaoka
424cccc1e5 Add SMC 8041TX 10/100 Ether PC Card. 2003-01-16 15:18:44 +00:00
jdolecek
6c334c1ee1 fix mistake in the attachment, which caused the device interrupt handler
to not be properly setup
fix provided in PR kern/13621 by ITOH Hideki
2003-01-12 12:53:36 +00:00
thorpej
72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
jdc
50b0738c11 Match the D-Link DWL650H.
Tested on i386 and hpcarm.
2002-12-29 12:11:45 +00:00
jdc
157591d35a Regenerate (DWL650H addition). 2002-12-29 12:06:34 +00:00
jdc
d354b364e4 Add D-Link DWL650H wireless card (a different product than the plain DWL650). 2002-12-29 12:04:48 +00:00
bouyer
e69ba7cb79 Commit patch I sent to tech-net on 29/09/2002:
The driver puts the adapter in promisc mode to receive multicast addresses.
At last set the IFF_PROMISC flag so that the upper layer filters frames
that are not for us.
Sure, the real fix would be to get multicast filters working ...
2002-12-10 21:50:32 +00:00
tsutsui
9604e7689d More cleanup of MI mb86960 driver:
- Add support for byte system bus mode. Based on patch in kern/17193 by
  Christian Groessler, with some improvements by me.
- Rename sc_flags in mb86960_softc to sc_stat, rename "type" to sc_flags
  to specify controller quirks and remove enum mb86960_type.
- Pass controller type via new sc_flags in mb86960_softc rather than
  via an mb86960_attach() arg.
- Handle unaligned mbufs properly in mb86960_write_mbufs(). (from ne2000.c)
- Fix a signed/unsigned comparision warning.
- Add definitions of status bits in the RX packed header.
- Change types of some members in mb86960_softc.
2002-11-30 14:15:10 +00:00
thorpej
d32a923263 Avoid strict-alias warnings. 2002-11-25 02:31:14 +00:00
onoe
d125f36802 Add support of Sony PEGA-WL100 CF Wireless LAN Card. 2002-11-06 05:45:17 +00:00
perry
0b13788269 remove redundant defines caught by lint 2002-10-23 02:06:11 +00:00