Commit Graph

301 Commits

Author SHA1 Message Date
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
martin 8af2b425a2 Add a missing call to isapnp_config().
Do not hardcode IST_EDGE, use the type from the attach args.

Noticed by Christos Zoulas.
2002-02-22 21:26:47 +00:00
christos df34bbcc7a Regen 2002-02-22 17:13:46 +00:00
christos 5cdee96e49 PR/15701: Mike Wlodarczyk: ISAPNP data for another SupraExpress 56I SP V.90 2002-02-22 17:13:26 +00:00
jdolecek f32b3f4f89 Reduce the massive code duplication regarding joy(4). Split it into
MI and MD parts, and make ISA/ISAPNP/PCI joy(4) attachments MI.
2002-02-02 18:37:38 +00:00
martin f8974bfebe Add support for ITK IX1 PnP cards.
Thanks to Nick Hudson for testing.
2002-01-21 12:31:42 +00:00
thorpej 3835413bc1 Overhaul of the ISA autoconfiguration code to support direct
configuration of devices logically attached to the ISA bus:

* Change the isa_attach_args to have arrays of io, mem, irq, drq
  resources.
* Add a "pnpnames" and a linked list of "pnpcompatnames" to the
  isa_attach_args.  If either of these members are non-NULL,
  direct configuration of the bus is being performed.  Add an
  ISA_DIRECT_CONFIG() macro to test for this.
* Drivers are not allowed to modify the isa_attach_args unless
  direct configuration is not being performed and the probe fucntion
  is returning success.
* Adapt device drivers -- currently, all driver probe routines return
  "no match" if ISA_DIRECT_CONFIG() evaluates to true.
2002-01-07 21:46:56 +00:00
christos 70e238a1bc PR/15049: Katsuomi Hamajima: fix memset re-definition. 2001-12-25 14:03:15 +00:00
lukem ecb81c3f6d - convert usage of "defopt" to "defflag" where the relevant option does
not support a value (e.g., it's to be used as "options FOO" instead of
  "options FOO=xxx"). options that take a value were converted to
  defparam recently.
- minor whitespace & formatting cleanups
2001-11-28 10:21:10 +00:00
yamt b2dc60987f add isapnp frontend for cs driver. 2001-11-27 12:23:31 +00:00
yamt e9dd0249c8 regen for IBM EtherJet ISA. 2001-11-27 12:21:49 +00:00
yamt dcb7807cbe add IBM EtherJet ISA. 2001-11-27 12:20:39 +00:00
christos bdb84bd0cd Regen 2001-11-16 18:34:08 +00:00
christos d10a585999 add another USR modem. 2001-11-16 18:33:35 +00:00
lukem 2565646230 don't need <sys/types.h> when including <sys/param.h> 2001-11-15 09:47:59 +00:00
lukem 9d2580ff16 add RCSID 2001-11-13 07:56:39 +00:00
lukem 4be2902b43 regen for RCSID 2001-11-13 07:54:18 +00:00
lukem 6f230ccce0 add RCSID to generated .c file 2001-11-13 07:52:41 +00:00
augustss 1339e88a86 Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
thorpej 0cf4cbfa39 Use ISACF_*_DEFAULT rather than *UNK. 2001-09-26 01:17:16 +00:00
thorpej f532a911f0 Chipset is CORKSCREW for the 3c515. 2001-07-27 02:13:26 +00:00
thorpej f9616582f4 Regen -- added 3c515 for the ep driver. 2001-07-27 02:12:57 +00:00
thorpej d3ee9bd16e Add the 3c515 for the "ep" driver. 2001-07-27 02:12:19 +00:00
thorpej 3d98de578f Remove unnecessary include files. From Onno van der Linden. 2001-07-08 17:55:50 +00:00
onoe b5e1e7d8ab add #include <net/if_ieee80211.h> to make it compilable. 2001-06-21 14:02:56 +00:00
david d62038a18e Add Aztech sound card found in HP Kayaks. 2001-04-15 03:31:37 +00:00
jdolecek 372e5956ef Only install headers which are actually used by our userland. This
saves about 2.2MB under /usr/include/dev/. Discussed on tech-kern@
recently.

I HOPE to get the list right. The headers I left in are ones
used for MI tools and those whose usage I discovered by grep over tree sources.
Feel free to put needed includes back in if you encounter anything which
should not be removed from lists.
2001-04-11 07:42:31 +00:00
martin 5171d409a5 First step to cleanup the hardware driver <-> upper layers interface.
This now provides slightly more functionality than the FreeBSD layer1-newbus
interface. It was meant to be a simple change to one header and a few
c files, but the change rippled all through various stuff.

To prevent a change to the kernel<->userland interface right now the kernel
is now lying about card types to userland (but who cares). This will be fixed
when the userland interface changes, after layer 3 <-> layer 4 has been
fixed.

Functional changes:

Provide a clean interface for hardware drivers to attach to the upper
layers. This will need another small change in the B-channel handling
when a similar change to the layer 3 <-> layer 4 interface happens.

Avoid passing indices into global arrays of pointers around, instead pass
the pointers itself. Don't code hardware driver types by predefined magic
numbers (think LKM). Prepare for detachable drivers (think pcmcia).

While there remove some sets of function pointers always pointing to the
same function (meant to be the configurable set of D channel protocol
handlers). It is unlikely another supported D-channel protocol will fit into
that (maximal layer interface) abstraction. When we get support for another
protocol, we will need to come up with a workable interface. Besides, the
old implementation was, uhm, strange.
2001-03-24 12:40:29 +00:00
christos 76ea3fcb82 regen 2001-02-24 20:13:53 +00:00
christos e6583ce243 add ESS wd controller. 2001-02-24 20:13:33 +00:00
lukem 3aeb5f2f29 whitespace police 2001-02-24 01:59:46 +00:00
martin f0d6660cf4 Filename cleanup: remove i4b_ prefixes outside sys/netisdn, last round.
Renamed in sys/dev/ic:
i4b_hscx.c -> hscx.c
i4b_hscx.h -> hscx.h
i4b_ipac.h -> ipac.h
i4b_isac.c -> isac.c
i4b_isac.h -> isac.h
i4b_isic.c -> isic.c
i4b_isicbchan.c -> isic_bchan.c
i4b_isicl1.c -> isic_l1.c
i4b_isicl1.h -> isic_l1.h
i4b_isicl1fsm.c -> isic_l1fsm.c
2001-02-20 22:24:31 +00:00