Commit Graph

277 Commits

Author SHA1 Message Date
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
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