Commit Graph

301 Commits

Author SHA1 Message Date
drochner 326ffe6cd3 regen 1998-07-30 09:47:49 +00:00
drochner 085f3ce0cc add entry for Boca 56k (from Fujie Zhang <fzhang@NMSU.Edu>)
update comment for OPL3-SA2 / OPL3-SA3 (same PnP ID)
1998-07-30 09:45:16 +00:00
augustss 4e690f3740 Improve chances of success and make it compile again. 1998-07-28 14:16:29 +00:00
christos fe7d31fe1e First-gen 1998-07-23 19:31:36 +00:00
christos bdb2269a46 Create a master list of pnp logical and compatibility device codes instead
of hard-coding it into each driver and use a centralized probe function.
1998-07-23 19:30:44 +00:00
drochner 49bb9d8214 adapt to LANCE driver split 1998-07-21 17:36:01 +00:00
jonathan 011f2bda08 defopt NS, NSIP. 1998-07-05 06:49:00 +00:00
jonathan 3751946b97 defopt INET, NETATALK. 1998-07-05 00:51:04 +00:00
augustss 9e54ebca91 Add WSS attachment for ISAPnP. Not tested yet. 1998-06-30 17:28:00 +00:00
thorpej d2e377891d Get the interrupt share type from the PnP info. 1998-06-29 22:42:32 +00:00
thorpej ab5b45577b Don't panic if a DRQ is already allocated. Instead, just return EAGAIN
to indicate that the resource is unavailable.
1998-06-25 19:18:05 +00:00
sommerfe f43ca1545e nit: fix printf to match locator names. 1998-06-23 04:19:23 +00:00
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
thorpej 5bc2217a49 Nuke __BROKEN_INDIRECT_CONFIG. 1998-06-09 07:24:55 +00:00
thorpej 129eab3152 Adjust for the changes to the ISA DMA API. 1998-06-09 00:05:19 +00:00
sommerfe 2b00a47b9e Add ISAPnP attachment for PCMCIA bus controller; reorganize ISA
attachment to let it share code with PnP attachment.
1998-06-07 18:28:31 +00:00
augustss 503014ebe7 Add missing call to isapnp_config.
Set chip_name.
KNF.
1998-05-21 19:07:10 +00:00
augustss 74545baf39 Add a Yamaha OPL3-SA3 driver and clean up all AD1848 drivers.
Submitted by Constantine Sapuntzakis <csapuntz@reeducation-labor.lcs.mit.edu>
and originally written for OpenBSD.
1998-05-20 16:19:41 +00:00
drochner 0652ed68a5 Initialize sc_frequency. (How could this ever work?)
Add PnP entry for USR Sportster 56k internal modem.
Remove BROKEN_INDIRECT_CONFIG.
1998-04-25 10:58:24 +00:00
thorpej cef633de2a Fix a fencepost in last change. 1998-04-19 22:26:31 +00:00
drochner 13c6d27696 Fix spelling of my name.
Being here, remove BROKEN_INDIRECT_CONFIG.
1998-04-18 10:35:48 +00:00
thorpej 6ea0ab26e2 Don't reference functions defined in isadma.c if we don't have to,
since we might not have any ISA DMA-using devices configured, thus
isadma.c won't be compiled.  Fixes a problem reported by Kevin Lahey.

Also, since there are only 8 DMA channels, don't bother checking
DRQs 8 - 15.
1998-04-15 01:53:47 +00:00
thorpej ddf189f7da Remove the stuff that was apparently not intended for commit in the
previous change.
1998-04-13 22:18:03 +00:00
augustss 993dcaa947 Add another device, YMH0021. From nathanw@MIT.EDU, PR #5289. 1998-04-13 13:19:40 +00:00
enami 5c8a9ac444 Attach aic at isapnp. 1998-03-29 08:13:43 +00:00
enami 5124116592 ISAPnP attachment for aic6360 (tested with AHA-1520B). 1998-03-29 08:11:50 +00:00
christos 66f05f52ec Add another 56K modem. 1998-02-25 13:18:50 +00:00
enami 9db8348725 Cosmetic change; use tab of width 8. 1998-02-22 05:14:34 +00:00
thorpej 8354e68508 Remove "class" declarations, and add "devclass" declarations where
appropriate.  Fix several inconsistencies between device class and
attributes.  Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
thorpej 296d96f42c Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:38:50 +00:00
christos 5ba817c967 Don't hardcode the interrupt type; use what the pnp config provided to us. 1998-01-31 21:31:35 +00:00
bouyer 605c219597 Add ID for the Vibra16X PnP board (aka CT4170). 1998-01-30 11:42:51 +00:00
mycroft 929286557a Add a PnP IDE frontend. 1998-01-23 20:40:58 +00:00
thorpej 095c4c092d Adjust for config changes. 1998-01-12 09:23:08 +00:00
thorpej 985f99fe00 Don't initialize softc's space tags/handles until isapnp_config() has
been called.  Pointed out by Lennart Augustsson.
1997-12-17 01:31:59 +00:00
mikel 60d209bff0 add ID for "Best Data Products Smart One 336F"; Dave Huang <khym@bga.com> 1997-12-02 06:10:45 +00:00
mjacob f4b09b4771 fixme: still need a __BROKEN_INDIRECT_CONFIG case 1997-12-01 18:47:01 +00:00
drochner 8e7686a76b make it compile without "__BROKEN_INDIRECT_CONFIG" 1997-11-30 15:13:30 +00:00
augustss e86b728748 Remove broken PnP id again. 1997-11-20 08:53:39 +00:00
mikel 57bacccec7 increase maximum resource ROM read delay to 1 ms (slow EEPROMS) 1997-11-20 06:41:13 +00:00
augustss 2e65c33090 Make sure isapnp_config() runs before we allocate the DMA channels. 1997-11-19 14:19:59 +00:00
augustss f1a39fe2df Recognize another card and handle the case when both drqs are the same. 1997-11-18 19:24:46 +00:00
augustss ba76377205 Make an XXX note about the broken ALS id. 1997-11-18 19:17:21 +00:00
augustss fe3e796d68 Dropped an else in last commit. 1997-11-18 11:34:50 +00:00
augustss c622832eb0 Add another card and take care of swapped drqs. 1997-11-18 11:27:04 +00:00
christos c12bf4cc9f DTRT with level and edge interrupts:
- add a type field to the isapnp_pin struct and set to IST_EDGE or
      IST_LEVEL depending on the card configuration data.
    - use the irq type field in all the drivers instead of hardcoding it.
1997-10-28 21:27:55 +00:00
thorpej e0ccf46ed0 In isapnp_alloc_irq(), use isa_intr_alloc(), since it performs resource
conflict checking.
1997-10-27 23:42:30 +00:00
thorpej 16905ceeda Make sure we don't allocate a conflicting DRQ. From Christos. 1997-10-27 22:16:49 +00:00
mikel 1f8a154917 add comments describing what devices correspond to each PnP ID matched 1997-10-23 06:14:11 +00:00
augustss e7029fc0da Make the audio API (almost) SunOS compatible.
The changes is to allow some limited mixer manipulation through
the audio device (instead of the mixer device).
This rendered 4 methods in audio_hw_if unused so garbage collect these.
1997-10-19 07:41:33 +00:00
christos b04f385510 PR/4282: Dave Huang: add logical id for boca modem. 1997-10-17 13:41:29 +00:00
matt 119ee74bb4 An ISA Plug-and-Pray attachment for NE2000-compatible cards. 1997-10-16 17:18:29 +00:00
matt 2b42743910 Add support NE2000 ISAPnp boards (only DEC DE305 supported now). 1997-10-16 17:16:36 +00:00
thorpej ce61c6263d Adjust for new "com" driver home. 1997-10-16 00:50:48 +00:00
thorpej 9ba1ceb091 Pulldown from marc-pcmcia branch. 1997-10-15 22:00:10 +00:00
augustss edf79539db Add another SB AWE64 Value. 1997-10-15 05:13:31 +00:00
thorpej 10708da893 Pull down from marc-pcmcia branch:
Minor tweaks to deal with PCMCIA differences, and support for power
management.
1997-10-14 21:28:37 +00:00
jtc 2ff9e92859 Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:50:22 +00:00
augustss 8ecd26aeb3 Add the GUS PnP driver. 1997-10-06 22:42:56 +00:00
augustss 22a818e5a4 GUS PnP sound card driver from Kari Mettinen. 1997-10-06 16:05:11 +00:00
augustss 7bc1f9d060 Recognize SB AWE64 Gold. 1997-09-13 13:37:28 +00:00
mikel 32407c5e4f don't forget to unmap read port in match routine, if successful; also
ensure sc_ncards is initialized
short-circuit probing for cards once first is found in match routine
add support for !__BROKEN_INDIRECT_CONFIG
1997-08-12 07:38:10 +00:00
mikel 29b21e4e57 add symbol for LFSR length 1997-08-12 07:34:34 +00:00
christos b73326ecdd GC unused connector finding code. This has moved to epconfig(). 1997-08-07 19:46:22 +00:00
mikel d3174941cd don't clobber bus_space_{,un}map macros 1997-08-06 04:52:29 +00:00
mikel 7826bcb58c add support for generic SBs by matching compatIDs 1997-08-03 08:31:00 +00:00
mikel 6dde5e2db7 add support for generic COM devices by matching compatIDs 1997-08-03 08:24:07 +00:00
mikel 93c4fda873 add support for compatible device IDs 1997-08-03 08:12:21 +00:00
pk 013ac04cfb config.new => config 1997-07-20 20:30:46 +00:00
mikel 379f3b1c05 add device ID for SB AWE64 Value; from William Coldwell in PR kern/3716.
also add comments for some device IDs describing what they match.
1997-06-18 07:19:08 +00:00
thorpej 31498892b3 Fix a (fatal) typo in the bus dma changes. From Bill Coldwell
<billc@warped.com>
1997-06-08 08:43:52 +00:00
thorpej 11e78a6b0d Pull thorpej-bus-dma branch into mainline. 1997-06-06 23:43:45 +00:00
jtc 0a3a33b1ba Copyright of this file has been assigned to The NetBSD Foundation 1997-05-28 16:30:54 +00:00
veego 1b80d8dd97 Add other isapnp id's for the 3c509. 1997-04-27 09:46:50 +00:00
explorer 60a6c8d34b Add isapnp attachment for com driver 1997-04-25 15:26:11 +00:00
mikel cff564f651 fix off-by-one error in fixed I/O resource interpreter
fix address alignment errors in memory resource interpreter
clean up debug output a bit
1997-04-10 07:02:53 +00:00
mikel 27d98ef0db add support for AD181[56] SBPro emulation 1997-04-10 06:33:16 +00:00
jonathan 5725025bdc typo in cfattach. 1997-04-09 02:10:48 +00:00
thorpej b20341d54a If we don't match a known card ID, return "don't match". 1997-03-31 20:52:13 +00:00
jonathan 2e7e0f6ca0 Merge with Mattias Drochner's PCnet-PnP front-end. 1997-03-31 20:36:38 +00:00
jonathan 999f50b033 PCnet-PnP front-end driver for isapnp PCnet cards. 1997-03-31 20:22:19 +00:00
jonathan c1f72bba37 Add ifmedia hooks: include <ifmedia.h> and add sc_media to softc. 1997-03-30 22:47:05 +00:00
christos 93b36b663d PR/3388 from Tatoku Ogaito: Add product id for another soundblaster PnP card. 1997-03-25 15:16:49 +00:00
mycroft 51c794927e Minor changes. 1997-03-21 00:56:43 +00:00
mycroft 9bc57d2244 Add PnP ID for SB AWE32. 1997-03-21 00:49:38 +00:00
mycroft 95abb133dc Add 16-bit DRQ support on PnP, and enable 16-bit output. 1997-03-20 11:03:10 +00:00
mycroft ab86334267 Second DRQ is at 0x75, not 0x72. 1997-03-20 10:48:02 +00:00
christos dd64e55c90 PR/3353: From Alistair G. Crooks: move to the new arp world. 1997-03-18 18:58:12 +00:00
christos 9733b260cd Add a match for the ESS1868; from herb... 1997-03-13 01:45:11 +00:00
christos 12331eb691 Fix typo of PR/3319 1997-03-12 13:53:14 +00:00
christos e4fb91bcb5 Fix PR/3251; also don't assign the checksum every time around the loop. 1997-02-24 22:08:25 +00:00
jonathan c7cec27edf Move if_ep media-sense code from front ends to inside back end,
to prepare for if_media, and to support EISA 3c59x cards:

  * change epconfig() to take a short that encodes the chipset
    type (3c509, or Demon/Vortex/Boomerang).
  * add  distinct 3c509 and Demon/Vortex/Boomerang media-sense
    functions to back end.
  * Add EISA match/attach support for the 3c592 and 3c597
    (Demon) cards as well as the 3c509-comatibl EISA 3c509/3c579.

  * Assume that ISA and ISA PnP cards are 3c509-style, until
    proof to the contrary (e.g. large packet support).

Tested on 3c595, 3c590, and 3c509b. Not tested on 3c515 or Demon.
1997-02-18 10:51:06 +00:00
christos 041fb607e0 Add a break; in the irq/drq allocation loop so we take the first one instead
of the last one.
1997-02-09 18:36:44 +00:00
christos 12a7c99376 Fix an irq -> drq typo 1997-02-09 18:36:11 +00:00
christos 1a33eecdca const poisoning 1997-01-24 22:13:10 +00:00
christos 2fe3b9727a - increase string space for device class names
- fix the parser so that non-compliant isapnp devices work, and we
  give up when there are too many errors (some on-board pnp sound/atapi/game
  soundblaster compatible card).  reported by chuck cranor
- fix the parser so that configuration tags that come after the
  end-dependencies tag or before the begin-dependencies tag are merged
  in properly (gravis ultrasound). reported by gary duzan
  We now build a tree of card -> logical-dev -> conf, and in the end we
  convert it to a list of conf...
1997-01-24 21:58:34 +00:00
veego ff217ba6d9 Decrease the delay() in isapnp_wait_status(), 100 was too much. 1997-01-24 21:17:19 +00:00
veego 0a1897f82f Change on printf to remove duplicated informations and add a \n. 1997-01-23 11:42:44 +00:00
mycroft 318bbe30f5 Increase the delay() in isapnp_wait_status() for slow cards. 1997-01-22 23:51:38 +00:00
mycroft f7709d02b6 Add a frontend for the 3C509B. 1997-01-22 23:44:03 +00:00
christos cf455412fc Plug and Play support. 1997-01-16 22:00:57 +00:00