Commit Graph

3942 Commits

Author SHA1 Message Date
pk af17d22848 Missing bits in DEBUG mode. 1998-09-07 07:58:45 +00:00
eeh 199e474e95 Removed some spurious `long's. 1998-09-06 22:43:16 +00:00
pk b871ab5f2c Use the new "%b" format for the various control register bits. 1998-09-06 21:39:33 +00:00
eeh c5b834a5bc Do it right for a change. 1998-09-06 21:23:58 +00:00
eeh b9ce59191d Oops. Fix overenthusiastic macro. 1998-09-06 21:21:06 +00:00
veego adebee9ad7 Regen. 1998-09-06 17:27:40 +00:00
veego 25eaf86126 Add the Brooktree 878 and 879 id's and fix the comment of the 849 entry. 1998-09-06 17:26:03 +00:00
jtk 1247373b7a Correct the remaining uses of ad1848_softc to ad1848_isa_softc 1998-09-06 13:03:49 +00:00
pk 06f777a3fe Debug output updates (Ezra Story; PR#6108). 1998-09-06 11:06:52 +00:00
pk 7991c56b93 Use `ad1848_isa_{open|close}' (Ezra Story; PR#6108). 1998-09-06 11:05:21 +00:00
eeh 484ce04810 The `address' field from the prom is really an unsigned 32-bit value.
Make it so.
1998-09-05 22:29:49 +00:00
eeh c05097f947 Remove function name conflict. 1998-09-05 22:14:25 +00:00
pk 18da157aa9 Assign my copyrights to TNF. 1998-09-05 17:28:57 +00:00
pk fc5e533cc2 Relinquish my copyright claim on this file. 1998-09-05 17:23:09 +00:00
pk 42ebb851c5 sparc64 uses more of this file. 1998-09-05 16:47:06 +00:00
augustss 9d8e954403 Regen. 1998-09-05 15:46:08 +00:00
augustss 127efe1a4d Fix typo. 1998-09-05 15:45:34 +00:00
augustss d8e5a87d76 Regen. 1998-09-05 15:42:42 +00:00
augustss b0e65e8371 Regen. 1998-09-05 15:42:41 +00:00
augustss f7f5af21fb Add Kodak DC260 camera. 1998-09-05 15:42:12 +00:00
christos bd52ba3c5a Assign copyright to TNF. 1998-09-05 14:42:05 +00:00
christos 344ed1eaef Assign copyright to TNF. 1998-09-05 14:20:01 +00:00
christos 236611ac0b Regen. 1998-09-05 14:18:04 +00:00
christos c7a4282124 Assign copyright to TNF. 1998-09-05 14:12:36 +00:00
mark ba8c6b9828 arm32 now supports soft serial interrupts. 1998-09-05 04:25:35 +00:00
is a3ee69c87a Split SMC chipset ARCnet driver into
- machine independent chip driver, in dev/ic/smc90cx6.c/...reg.h,...var.h,
  using bus_space methods
- ZBUS frontend in arch/amiga/dev/if_bah_zbus.c
- added IPL_SOFTNET to arch/amiga/include/intr.h, for this
Implementing the ISA bus frontend is left as an exercise to the reader.
1998-09-02 22:32:06 +00:00
drochner 453b195c4d Can't use pckbc_enqueue_cmd() in attach() because pckbc's initialization
is not yet completed, have to use pckbc_poll_cmd() instead.
1998-09-02 20:01:15 +00:00
drochner b43e33a471 Since the RAMDAC drivers use the !=0-ness of fields for diagnostic
purposes, we have to zero-initialize the tga_devconfig structure.
1998-09-02 19:51:06 +00:00
mjacob fd97cb265c typo for non-SCSIVERBOSE case 1998-09-02 02:18:48 +00:00
pk 380e88d4f0 Adjust some comments. 1998-09-01 22:56:00 +00:00
jeremy 6693724a83 Changed inaccurate comment on the sc_freq member of the driver's softc
structure.  The frequency is represented in MHz rather than Hz. [PR/6805]
1998-09-01 22:22:03 +00:00
pk fec2fa9e43 Typo in device Id mask. 1998-09-01 21:04:43 +00:00
jtk 92707994ef use ad1848_isa_attach, so GUS cards with CS4231 don't panic the kernel 1998-09-01 18:48:38 +00:00
drochner a442e328e7 -add italian layout, from Dante Profeta <dante@mclink.it>
-name pckbd_keydesc_declk -> pckbd_keydesc_us_declk for consistency
1998-09-01 18:11:13 +00:00
drochner 9d3ed7d925 add definition for italian keyboard 1998-09-01 18:09:27 +00:00
mycroft b742b9ad67 Move some debugging output to more useful levels. 1998-09-01 07:27:06 +00:00
enami 29e9385ce2 Make this file compile again by removing no longer used `struct
cfdriver md_cd' and related code.
1998-09-01 06:13:33 +00:00
cgd d58173741d kill the last remnants of __BROKEN_INDIRECT_CONFIG. (only the pica port
used it, and it's non-working and apparently slated for replacement.)
1998-08-31 22:28:04 +00:00
dante d35b531a68 Remove __BROKEN_INDIRECT_CONFIG
Correct currently known boards
1998-08-31 17:15:25 +00:00
pk 5038a72078 A few modest simplifications. 1998-08-31 11:13:54 +00:00
pk 860867bfec macro argument protection. 1998-08-31 11:13:10 +00:00
pk 98e669d970 Use sbus attach args features.
getpropA() => getprop()
1998-08-30 21:25:30 +00:00
jtk 61cf67759a make AUDIO_DEBUG work again 1998-08-29 22:49:48 +00:00
pk fe6b9295a8 Adjust for some small changes in lsi64854 back-end driver. 1998-08-29 21:43:00 +00:00
pk 73b946e04e LSI64854 DMA engine driver.
Currently used by Lance Ethernet and NCR SCSI front-ends on sparc/sparc64.
1998-08-29 21:42:03 +00:00
pk 1f0567dd53 Nuke unnecessary header files. 1998-08-29 20:38:38 +00:00
pk 3557f62f30 Use bus_space_*() to access device registers.
Add `esp' and `le' DMA engine.
1998-08-29 20:32:09 +00:00
pk 15d097c04d Make compile without AUDIO_DEBUG 1998-08-29 19:52:09 +00:00
dante cb8b14827c Adjust copyright justification 1998-08-29 13:54:50 +00:00
dante 17759893b0 Add rcs id 1998-08-29 13:44:49 +00:00
drochner 2f94f2c21c some fixes:
-use of uninitialized variable in attach (mostly harmless)
-removal of dead code in attach()
-fix of interpretation of SIA blocks on >=21142 (serious, caused strange
  things with 10Mbit)
1998-08-28 20:58:37 +00:00
thorpej 370a38c007 Add braces to make egcs happy. 1998-08-28 20:03:10 +00:00
pk 1643e13b90 XXX - BUS_DMA_BIT24 does not exist everywhere.. 1998-08-28 20:01:08 +00:00
thorpej f3bfb08d45 When determining the default media on the Vortex/Boomerang, don't pick
the full-duplex variant.  XXX We should check the EEPROM for "default to
full-duplex".
1998-08-28 18:16:02 +00:00
fvdl 17c31a8a21 Add ETHER|NONE to default capabilities, or we'll panic when attaching
the forthcoming ex driver.
1998-08-28 12:50:36 +00:00
pk 535cdbe9f2 Slight optimization in audio_[pr]int(). 1998-08-28 12:07:41 +00:00
pk b1447741da Nuke Dprintf; fix formats. 1998-08-28 08:59:14 +00:00
pk 9441400ef0 Nuke Dprintf; fix formats.
Add missing copyright.
1998-08-28 08:58:24 +00:00
augustss c50af72c34 Handle the case of MIDI devices with no audio devices. 1998-08-28 07:44:12 +00:00
pk efad4d44c0 CS4231 audio driver. Play only for now. 1998-08-27 20:51:17 +00:00
pk ce2bbbd092 Add audiocs. 1998-08-27 20:49:37 +00:00
pk dd0709d28d Add selected `%b' bits. 1998-08-27 20:05:11 +00:00
pk 142bff0170 Add missing entries and make it slightly more verbose. 1998-08-27 19:53:02 +00:00
pk b3279eb3dc Move a few prototypes.
Whitespace cleanup.
1998-08-27 18:45:12 +00:00
mrg 41ad1758ac move isp_sbus attachment into /sys/dev/sbus. 1998-08-27 11:30:45 +00:00
drochner a80cad6e0a regen 1998-08-26 20:00:37 +00:00
drochner fe1c5e2163 add the SIS 5597/5598 all-in-one PCI chipset 1998-08-26 19:59:16 +00:00
pk fc397afa14 debug level 0 1998-08-26 15:06:37 +00:00
dante d93a0d81b0 Add AdvanSys support 1998-08-26 14:20:37 +00:00
dante 97b8010151 Changed ADVSYSPROD to ADVSYS vendor ID
Added 1200A, 1200B, ULTRA, 2300 AdvanSys products ID
1998-08-26 14:18:26 +00:00
dante d9e417cde9 Add AdvanSys 930U and 940U SCSI controllers 1998-08-26 14:13:58 +00:00
augustss 7972a062b0 Make the OPL driver attach directly to ISA as well. 1998-08-26 13:33:59 +00:00
augustss 8d64ea1683 Less debug printing. 1998-08-26 13:08:44 +00:00
augustss 6633896a67 Do some renaming of registers and make sure we get sound in both
channels on OPL3.
1998-08-26 13:08:10 +00:00
augustss bb3c56652c Make the OPL driver turn on the sound on sound cards that require it.
That makes it much more likely that we get any sound.  DUH!
1998-08-26 12:10:22 +00:00
thorpej bc21c243cd For non-MII Vortex/Boomerang, set full-duplex in the MAC CONTROL register
in epsetmedia() if full-duplex is selected (new feature on these cards!)

On MII Boomerangs, set the full-duplex bit in MAC CONTROL in the statchg
callback from the MII layer.  Should fix full-duplex on these cards.
1998-08-26 01:32:41 +00:00
thorpej 19b759c2e4 Define the full-duplex bit in the W3 MAC CONTROL register. 1998-08-26 01:29:03 +00:00
pk 6ab705c01b Also include SUN4 in the temporary split 1998-08-25 22:42:48 +00:00
pk d4ec33b5f0 The new MI part of the AD1848 driver. 1998-08-25 22:36:40 +00:00
pk f7151935ef Adjust for ad1848.c split. 1998-08-25 22:35:25 +00:00
pk 2ffb54bdcc Split the AD1848 driver into MI (dev/ic/ad1848.c) and ISA parts. 1998-08-25 22:34:29 +00:00
augustss a48f7d8a24 Attach the OPL FM synth to the ESS driver.
It probes, but alas, no sound.
1998-08-25 12:52:47 +00:00
thorpej daa8ad1747 Add some braces to make egcs happy. 1998-08-25 04:56:01 +00:00
thorpej 85c6c03e2a Change the 32-bit fields of the RFA to an arrays of bytes, so that
egcs won't attempt to optimize inline copies of them into a single
load/store (the RFA is not 4-byte aligned in the DMA area).

Just use memcpy() to copy those fields, now, not our own home-grown.
1998-08-25 01:08:15 +00:00
augustss 4e7c07c2b4 Write MIDI data from the sequencer to the device in a more sane way. 1998-08-24 17:59:25 +00:00
matt ea3bfd6d80 Fix bug in transmit logic that would transmits to stop. Boolean dyslexia
stricks again.
1998-08-24 14:09:15 +00:00
tv 54bf4389f9 egcs brace warning 1998-08-24 02:34:44 +00:00
msaitoh 7734e0ef29 fix version string (from PC Card Standard, April 1998 (Release 6.1)) 1998-08-22 23:41:48 +00:00
augustss c7e036f6e2 Let opl attach to ess.
WARNING: it doesn't work yet.
1998-08-22 22:55:09 +00:00
augustss f2ff59edc5 Change debug output. 1998-08-22 22:54:11 +00:00
msaitoh 369bc4cb89 Allocate an I/O according to the config table entries.
Auto assign is done only when all cfe->iospace[0].start fails.
1998-08-22 17:47:58 +00:00
mrg 9d4112bf21 make struct xd_iocmd's block member an u_int not a u_long 1998-08-22 15:11:02 +00:00
mrg 4d4f129eaa make "struct sun_dkpart" the same for sparc/sparc64 (sparc64 must have been broken?) 1998-08-22 14:55:28 +00:00
pk bc7c6c0c4c Fix DVMA address handling. 1998-08-22 11:47:45 +00:00
pk ef6b13cc87 vm_offset_t => vaddr_t. 1998-08-21 14:13:47 +00:00
veego ff2c3adddc Add some braces to stop the new egcs warnings. 1998-08-20 19:55:06 +00:00
pk 5ad46000df Remove vestiges of sparc-specific interrupt handling. 1998-08-20 11:44:58 +00:00
pk 177621555f remove sparc hack: there's a bus.h now. 1998-08-20 11:42:55 +00:00
pk 1f007a13cc Cast bus_size_t to u_long in printf() args. 1998-08-20 11:42:13 +00:00
augustss a6ed1cdd4e Provide a workaround for people who want a sequencer but have no MIDI devices. 1998-08-20 10:59:09 +00:00
augustss 915f1fe566 Add missing __P 1998-08-20 10:46:10 +00:00
thorpej 96aa1cec21 Add ofisa attachment for the ISA joystick driver.
XXX currently arm32-specific.
1998-08-20 07:02:32 +00:00
explorer 5ae808b38d ss->special could be NULL, so sane would crash the kernel. 1998-08-19 08:40:31 +00:00
thorpej 8021b2ae29 Initial support for the Brooktree Bt463 RAMDAC. 1998-08-18 23:29:28 +00:00
thorpej ff266f0937 Add some braces to make egcs happy. 1998-08-18 18:23:07 +00:00
thorpej 1083dcb6ca Back out previous. 1998-08-18 18:16:30 +00:00
augustss 0e6f209f9d Add forgotten OPL file. 1998-08-18 17:56:39 +00:00
thorpej ee26f0775b This now needs <dev/midi_if.h> to build. 1998-08-18 17:55:09 +00:00
thorpej 813dfd31c5 Fix a couple of obvious bugs in the hardware cursor handling code, and
use the RAMDAC callbacks to get/set the cursor colormap.
1998-08-18 08:40:39 +00:00
thorpej 6ba7f2f6fd Need an entry point to check cursor colormap entries for validity
before actually setting them.
1998-08-18 08:23:46 +00:00
thorpej 3db6850bb7 When updating the cursor colormap, actually store the data in our
copy of the cursor colormap, not the regular colormap!
1998-08-18 08:22:49 +00:00
thorpej feaf75c755 Add set_curcmap and get_curcmap RAMDAC methods, for use by the TGA hardware
cursor code.  These are unneeded on the Bt485, since the RAMDAC handles
the hardware cursor.  They are needed for the Bt463, however, since the
RAMDAC only provides cursor color.
1998-08-18 08:07:45 +00:00
thorpej 082116a927 vm_offset_t -> vaddr_t 1998-08-18 08:00:17 +00:00
thorpej b43fc64da6 Registers for the Brooktree Bt463 RAMDAC. 1998-08-18 07:43:09 +00:00
thorpej 73d1752963 Deal with somewhat bogus uninitialized warning in new egcs. Behavior
is such that would inidicate that __attribute__((__noreturn__)) is not
being honored.
1998-08-18 06:16:45 +00:00
thorpej 6bfd748b46 First-crack at RoadRunner (3c574-TX 10/100Mbps PCMCIA). Doens't yet use
any of the RoadRunner speed hacks.
1998-08-17 23:20:39 +00:00
thorpej 93d3ff20b4 Regen. 1998-08-17 23:12:15 +00:00
thorpej d2f5e92d0a Add product ID for the 3Com 3c574-TX 10/100Mbps Ethernet, provided
by Laine Stump.
1998-08-17 23:10:12 +00:00
augustss cd09067eb4 * Redo the way the way the MIDI driver attaches to audio devices.
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
  The opl driver is not finished yet; it sounds pretty awful.

For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
thorpej d0a17ab63e Fix a typo. 1998-08-17 20:34:19 +00:00
thorpej a2cad65f4e Only mark the disk dirty if we write. 1998-08-17 19:30:38 +00:00
bouyer fdb344b38f - use sc_tlphycap with bitmasks instead of direct comparaison (needed now
that we may have (TLPHY_MEDIA_10_x | TLPHY_MEDIA_NO_10_T).
- add carrier detect for AUI/BNC.

This now works properly with a "Compaq Netelligent 10/100 TX" and a
"Compaq ProLiant Integrated Netelligent 10/100 TX", untested with others
(but should work as well).
1998-08-17 16:41:45 +00:00
nathanw dbdebe9c17 Reduce com_devs[] to those devices (one!) that we need to match by CIS
string comparison. Change com_dev_match() somewhat to reflect that.
1998-08-17 03:28:51 +00:00
mycroft 04f0dc658c Assign my copyrights to TNF. 1998-08-17 00:49:01 +00:00
mycroft a1ac68819f Assign my copyrights to TNF. 1998-08-17 00:26:32 +00:00
matt 2a5371253c splnet() is not appropriate for everyone. Raise and lower SPL via
macros defined in pdqvar.h
1998-08-16 03:44:42 +00:00
thorpej cbcc3cfa46 Oops, back out something that I didn't intend to commit. 1998-08-16 01:16:57 +00:00
thorpej 5e177fa975 Regen. 1998-08-15 21:37:24 +00:00
thorpej ca15ee6ef6 Consolidate the Socket products, pointed out by Nathan Williams. 1998-08-15 21:36:25 +00:00
thorpej 05eabf2eef Regen. 1998-08-15 21:29:24 +00:00
thorpej 0ac0bf4615 Oops, that Socket Communications vendor ID was redundant. Sort the vendors
so I won't make that mistake again.
1998-08-15 21:28:26 +00:00
thorpej 1c7ae25125 Sigh, #if 0 the SMC 8020BT EtherEZ entry until we know what the product
ID really is.
1998-08-15 20:47:32 +00:00
thorpej fec04bbde8 Regen. 1998-08-15 20:46:31 +00:00
thorpej f2a088f77c Oops, that SMC product ID is actually for the 8016 EtherCard. *sigh* 1998-08-15 20:46:06 +00:00
thorpej 066e235e19 Take a stab at supporting the SMC 8020BT EtherEZ. (Similar to the
Megahertz; Ethernet address is stored in third CIS info string, but
may also be in the FUNCE/LANNID tuple.)
1998-08-15 20:11:38 +00:00
thorpej 8954eaede3 Regen. 1998-08-15 20:08:37 +00:00
thorpej 1bf26fea5a Add SMC vendor ID, and SMC 8020BT EtherEZ product ID. 1998-08-15 20:08:07 +00:00
thorpej ef4e6a52aa Regen. 1998-08-15 19:27:16 +00:00
thorpej 20e821491f Add the Zoom ComStar 33.6 modem, from Dave Huang <khym@bga.com>, PR #5976. 1998-08-15 19:26:18 +00:00
thorpej a68f2398d3 Add the Trust Combo EthernetCard, from Dante Profeta. 1998-08-15 19:00:04 +00:00
thorpej b2097ee74d Regen. 1998-08-15 18:58:32 +00:00
thorpej 9314c120f7 Add the Trust Combo EthernetCard product ID, from Dante Profeta. 1998-08-15 18:58:05 +00:00
thorpej cb7214f1a4 Regen. 1998-08-15 18:56:16 +00:00
thorpej 81f67879f9 Add vendor ID for Socket Communications, and product ID for the
Socket Communcations Dual RS232 card.
1998-08-15 18:55:25 +00:00
mycroft d07b3639a4 Assign my copyrights to TNF. 1998-08-15 17:47:15 +00:00
thorpej 7ce9726a7d Oops, don't forget to tick the MII once a second. 1998-08-15 17:04:52 +00:00
bouyer 1bbc572701 Fix typos in last commit. 1998-08-15 16:58:53 +00:00
thorpej c2f2b0d431 RoadRunner has a bit in Reset Options that must be set to enable the MII.
Define that bit.
1998-08-15 16:50:07 +00:00
bouyer 53d231dae3 correct indent. 1998-08-15 16:49:33 +00:00
thorpej a0aca43d11 Reset Options is in Window 3; correct a comment. 1998-08-15 16:47:30 +00:00