Commit Graph

256 Commits

Author SHA1 Message Date
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
martin
40db0102c3 Filename cleanup police (per discussion with Soren S. Jorvang):
remove all (legacy) "i4b_" prefixes outside of sys/netisdn.
Prefix all card specific driver support files with the basename
of the driver bus attachement file.

Renamed here:
isapnp_isic.c -> isic_isapnp.c
i4b_ctx_s0P.c -> isic_isapnp_ctx_s0P.c
i4b_drn_ngo.c -> isic_isapnp_drn_ngo.c
i4b_dynalink.c -> isic_isapnp_dynalink.c
i4b_elsa_qs1i.c -> isic_isapnp_elsa_qs1i.c
i4b_siemens_isurf.c -> isic_isapnp_siemens_isurf.c
i4b_sws.c -> isic_isapnp_sws.c
i4b_tel_s0P.c -> isic_isapnp_tel_s0P.c
2001-02-18 09:24:49 +00:00
thorpej
043e519d55 Adjust the way that media is initialized on DP8390-compatible
chips.  The dp8390_softc now has media_init and media_fini
function pointers that do the work.
2001-02-12 18:49:03 +00:00
is
cf9b8e8210 Contribution by Ryoji Kato: I-O DATA IFML-560 56K modem device ID. 2001-01-26 11:04:20 +00:00
is
2b15bcc35b Contribution by Ryoji Kato: I-O DATA IFML-560 56K modem support. 2001-01-26 11:02:18 +00:00
martin
242656c78a Enable the imported ISDN4BSD based ISDN subsystem.
This is the kernel part (userland to follow soon) of the latest (and
very probably last) release (version 0.96) of ISDN4BSD. ISDN4BSD has a
homepage at http://www.freebsd-support.de/i4b/.

It gives the user various ways to use the isdn connection: raw data (via
the i4brbch "raw b-channel" device), ppp (via the isp "isdn PPP" device),
voice/answering machine (the i4btel "telephone" device) and ip over isdn
(the ipr device, "IP over raw ISDN").

Supported are a bunch of common and older cards, more to be added soon
after some cleanup. Currently only the european E-DSS1 variant of the
ISDN D channel protocol is supported.
2001-01-05 13:09:15 +00:00
martin
c3cb638bca Initial import of ISDN4BSD release 0.96 2001-01-05 12:49:52 +00:00
mjl
aaad4d0284 Add quirk for Avance Logic ALS100+, which doesn't like it's irq/drq
being set in pnp mode.
2000-12-19 01:09:15 +00:00
mjl
324ff9ac52 Regen 2000-12-19 01:08:13 +00:00
mjl
a006fdf328 Correct ALS100+ entry. 2000-12-19 01:07:52 +00:00
mjl
e2372c3a0b Regen 2000-12-18 17:00:44 +00:00
mjl
ca4a96b3da Add Avance Logic ALS100+ 2000-12-18 16:55:46 +00:00
thorpej
19c3f4691f ISAPnP front-end for the Aironet 802.11 cards. Note this is currently
untested.
2000-12-17 20:34:40 +00:00
thorpej
5b67bb41a2 Regen; added Aironet 802.11. 2000-12-17 20:17:20 +00:00
thorpej
8c28f8f467 Add Aironet ISAPnP device ID. 2000-12-17 20:16:03 +00:00
thorpej
cfe0892ed3 NBPG -> PAGE_SIZE 2000-11-14 18:42:55 +00:00
jdolecek
a020e8fbb5 regen 2000-08-28 17:44:33 +00:00
jdolecek
8b242e878a add entry for SupraExpress 56i Sp V.90, as sent in kern/10902 2000-08-28 17:43:59 +00:00
mrg
261538ecac remove include of <vm/vm.h> 2000-06-28 16:39:25 +00:00
soren
a4f554c4ac Add CS4235 MPU id. 2000-06-06 18:08:51 +00:00
soren
63649c5744 Make the frontend print a newline. 2000-06-06 16:27:49 +00:00
christos
d4bcd03b81 PR/10154: Antti Kantee: ignore 0 length resource(s) 2000-05-23 17:50:53 +00:00
soren
df1f794536 Reflect version 1.13 of i82365_isa.c. Untested. 2000-02-23 17:22:11 +00:00
erh
8613a0edaa Regen. 2000-02-08 06:36:46 +00:00
erh
a87f862d24 Add Allied Telesyn AT-1500, lance ethernet. 2000-02-08 06:36:29 +00:00
thorpej
52a2804a5c Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
the maximum transfer size for the specified DMA channel.  Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
chopps
d8e72e215d implement probing for available irqs on non-cirrus pcmcia controllers
including cardbus controllers running in pcic mode
2000-02-01 22:39:51 +00:00
explorer
387644d34d regen 1999-12-15 05:49:44 +00:00
explorer
5e4e92603b add another modem; from Dan J Fraser 1999-12-15 05:49:33 +00:00
castor
df56622ada regen 1999-11-27 09:02:22 +00:00
castor
3de779c46a Add support for CS4235 codec as found on Intel KU440EX motherboard. 1999-11-27 09:02:13 +00:00
jun
559f1ca662 re-generating isapnpdevs.c isapnpdevs.h 1999-11-17 02:03:10 +00:00
jun
1e396f9b0b Support for Adaptec AVA-1502P
kern/8804 patch by NAKAGAWA, Yoshihisa
1999-11-16 05:10:54 +00:00
christos
040891d3e1 regen 1999-10-27 15:12:28 +00:00
christos
c48725b28e PR/8692: maximum entropy: Recognize Creative SB Awe 64 joystick. 1999-10-27 15:11:56 +00:00
itohy
80b776d037 Use NMPU instead of NMIDI so that it can compile without mpu attachment.
Requested by Izumi Tsutsui.
1999-10-18 05:11:39 +00:00
itohy
1fa3147269 Add support for "opl at ym" and "mpu at ym" attachment. 1999-10-05 03:47:20 +00:00
christos
fcc61fbac4 PR/8443: Yamano-uchi, Hidetoshi: Missing register in IODESC. 1999-09-23 16:09:58 +00:00
rh
12bad24883 Add opl at wss for isapnp devices w/o MAD chip. 1999-09-06 18:31:45 +00:00
rh
5cfe8783f9 Regen. 1999-08-24 12:47:20 +00:00
rh
416c42cc34 Add AdLib MSC 32 Wave PnP board (wss audio device). 1999-08-24 12:46:55 +00:00
augustss
42fb510148 Move the mpu device declaration to conf/files.
Let the mpu device attach at the sb device, and then midi at the mpu.
Update the mpu at eso attachment.
1999-08-02 17:37:41 +00:00
augustss
cbf1f6f1b9 Move the MPU driver isa/ to ic/.
(I didn't move it in the repository because the revision history
is very short and uninteresting. :)
1999-08-01 18:05:39 +00:00
augustss
a6a09bcdd6 Add support for ES18[67][89]. From PR #7427 by AW9K-NNK@asahi-net.or.jp,
Nonaka Kimihiro.
1999-06-18 20:25:23 +00:00
augustss
8d38841260 Make it possible for this driver tp work again.
From Thomas Klausner - wiz@danbala.tuwien.ac.at
1999-05-18 16:41:07 +00:00
bad
8fb6c6124b From Onno van der Linden:
Reorganise the driver some what.
Rename tr_reset() to the more appropriate tr_stop().
Create a common tropic reset routine and use it in the frontends.
Move the code in tr_config() which is only used in the card attachment
routines into a new tr_attach() function.
Take adapter off the ring through tr_shutdown() in a shutdown hook.
This simplifies the bus-specific frontend.
1999-04-29 15:47:02 +00:00