Commit Graph

332 Commits

Author SHA1 Message Date
dyoung
2459b02669 Switch an(4) to using the header files in the new 802.11 layer. 2003-10-13 06:45:32 +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
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
itojun
7094514d4d aha and le uses isadma 2003-08-14 10:03:03 +00:00
rh
8ae8eb43b3 regen 2003-07-08 07:26:26 +00:00
rh
8024e394f6 Add CMI8330/C3D Audio Adapter (wss). This closes PR kern/22081 by Mayukh
Bose <mayukh at earthlink dot net>.
2003-07-08 07:26:04 +00:00
christos
1af7cab082 regen 2003-06-10 19:39:12 +00:00
christos
4267622713 add a Rockwell 33.6K modem 2003-06-10 19:39:00 +00:00
wiz
1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
matt
3a494ed040 Don't malloc the channel_queue, put it in the softc. Print modes too. 2003-03-22 20:05:20 +00:00
itohy
b75bbfd9a4 Regen (add ESS1878 (ess) and ESS0005 (joy)) 2003-03-05 13:10:03 +00:00
itohy
24c03411b6 Add ESS1878 (ess) and ESS0005 (joy) for ESS ES1878 audio device. 2003-03-05 13:08:27 +00:00
wiz
1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
thorpej
72a7af27b0 Use aprint_normal() in cfprint routines. 2003-01-01 00:10:15 +00:00
christos
f8dc23efb1 regen 2002-11-19 15:06:37 +00:00
christos
70d7b58096 add another GVC modem 2002-11-19 15:06:05 +00:00
tsutsui
4d00e59ba6 Correct copyright notice since this code was mostly taken from
if_ne_isapnp.c, not if_fmv.c.
2002-11-14 16:49:55 +00:00
fvdl
6dc742c240 Don't include <i386/isa/icu.h> 2002-10-11 19:14:06 +00:00
tsutsui
071330b986 Slightly modify attach messages. 2002-10-05 17:52:31 +00:00
tsutsui
200406b07a Overhaul of fmv(4) driver:
- Split if_fmv.c into MI/MD part and add ISA-PnP attachment for FMV-183.
  (XXX FMV-184 is not tested. It would require extra media-select functions..)
- Fix probe functions of fmv_isa so that FMV-181A/182A will also match.
  Fixes port-i386/9476.
2002-10-05 15:16:10 +00:00
tsutsui
c56045bf1a Regen: Added Fujitsu FMV-183/184, MB86964 based ISA-PnP Ethernet adapters. 2002-10-05 14:59:36 +00:00
tsutsui
0c3944d3c4 Add Fujitsu FMV-183/184, MB86964 based ISA-PnP Ethernet adapters. 2002-10-05 14:57:15 +00:00
tsutsui
af5d007ede - Merge if_levar.h into if_le_isapnp.c since it is included only by
if_le_isapnp.c.
- Rename struct le_softc -> le_isapnp_softc
- Fix some messages on attachment.
2002-10-04 16:16:32 +00:00
tsutsui
b449802f93 Regen: Added Melco Inc. LGY-VI, Am79c961 (PCnet-ISA) based network interface. 2002-10-04 15:43:37 +00:00
tsutsui
5d7ea80531 Add Melco Inc. LGY-VI, Am79c961 (PCnet-ISA) based network interface. 2002-10-04 15:42:17 +00:00
thorpej
c9b3657ce9 Add trailing ; to CFATTACH_DECL. 2002-10-02 16:33:28 +00:00
thorpej
9bb77522c1 Use CFATTACH_DECL(). 2002-09-30 21:31:52 +00:00
thorpej
f818766afe Declare all cfattach structures const. 2002-09-27 20:31:45 +00:00
thorpej
6c88de3b53 Introduce a new routine, config_match(), which invokes the
cfattach->ca_match function in behalf of the caller.  Use it
rather than invoking cfattach->ca_match directly.
2002-09-27 03:17:40 +00:00
jdolecek
6fcbc6b230 regen: Cabletron 22xx (AMD LANCE/PCnet Ethernet) addition 2002-09-03 17:42:54 +00:00
jdolecek
5c2a73c8d7 According to kern/17695, the Cabletron 22xx works with the NetBSD
Lance Ethernet driver attached to isapnp. Add it to the list.
2002-09-03 17:42:26 +00:00
jdolecek
7bce3285d4 put back RCS Id 2002-06-22 22:14:09 +00:00
christos
705e75558c regen 2002-05-31 15:38:55 +00:00
christos
03dc556078 add usr v.everything. 2002-05-31 15:38:43 +00:00
augustss
1c66d18529 Make it possible to override the way register access is done.
This is needed for some really screwball attachments of the CS8900.
2002-05-21 02:47:04 +00:00
augustss
7f7ab48604 Rename the audio "bus" attribute audiobus to avoid confusion with audio
device.
2002-04-22 09:41:19 +00:00
martin
ed5298eb2f Make the LEDs work.
Green LED = we have a TEI assigned, yellow LED slow blinking = one B-channel
in use, yellow LED fast blinking = both B-channels in use.
2002-04-15 08:11:00 +00:00
martin
bc96c942e9 This card issues a constant stream of interrupts (from an internal timer).
Make it do this only while /dev/isdn is open.
2002-04-15 06:59:51 +00:00
martin
e4998611e9 Fix copyright notice. 2002-04-14 12:24:26 +00:00
martin
0cdadad2cd Defer initialization of the ISAC chip until we enable interrupts - it gets
into a strange failure mode if we do it with disabled interrupt. When
(re-)enabling interrupts reset transmitter and receiver and clear any
pending state.
2002-04-13 10:28:36 +00:00
christos
71d5289a50 regen 2002-04-12 13:12:57 +00:00
christos
9a5cce0e79 add some more devices; sorry I don't remember where they came from. 2002-04-12 13:12:40 +00:00
martin
f12d3f51e7 Remove some redundant tries to disable interupts. We already avoided enabling
them.
Fix a stupid typo when enabling/disabling interrupts: we clear pending
interrupts when enabling, not disbling isac interrupts.
2002-04-10 23:51:06 +00:00
martin
58502ab93e Combine sc_enabled and sc_dying into one field sc_intr_valid, they are used
for the same purpose (ignoring invalid interrupts).

For cards that are not able to stop all interrupts (or we don't know a way
to do that in software, at least) run the clearirq callback even when
ignoring an interrupt because we are not enabled. Otherwise the card would
stop interrupting.

Reserve a driver specific callout handle and an int value in the generic
isic_softc to allow card drivers to implement fancy blinkenlights.
2002-04-08 12:20:49 +00:00
martin
e5c92d53f8 Be a nice citizen, enable interrupts only when we are ready to talk
to the ISDN (i.e. when userland has /dev/isdn open).
2002-03-30 19:13:44 +00:00
martin
ed4ba39c75 Add a command to layer 1 drivers to update LED state for controllers that
have status LEDs.
2002-03-30 17:54:17 +00:00
martin
0bc69b6498 Now that we have all the pieces of the puzzle available start to unriddle
and move them in their proper places.

Move the BRI registry from layer 2 (duh!) to layer 4, so active cards
(which don't have layer 3 or layer 2 in their driver). Remove all remaining
hard coded controller and driver types. Remove any arbitrary hard coded
limits, at least those that show up in the internal API.

This fixes PR 15950.
2002-03-24 20:35:43 +00:00
itohy
d5f39a2d9c Add explicit support of OPL3-SA2 (YMF711).
Not well tested....
2002-03-10 13:57:10 +00:00