Commit Graph

1501 Commits

Author SHA1 Message Date
chopps 70e711cd60 only enable interrupts from the controller if the socket is enabled 2000-02-04 08:42:47 +00:00
chopps 9ff702157c doh, remove debugging leftover (forcing irq 15 to always be avail). 2000-02-04 05:30:55 +00:00
enami 0bff6e573a Cosmetic change; use IRQUNK instead of -1 always. 2000-02-03 23:03:11 +00:00
enami 586595e6d4 Make irq probing controled by patchable variable and disable on hpcmips
by default.  It doesn't work on hpcmips.
2000-02-02 14:44:09 +00:00
chopps 4483fc0f5f restore irq 10 to pcic_isa_intr_alloc_mask 2000-02-01 22:56:17 +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
ad ea0751f1aa Finish with fixing the SOFTCURSOR stuff. 2000-01-25 02:44:03 +00:00
thorpej dc59bc1db3 Update for sys/buf.h/disksort_*() changes. 2000-01-21 23:39:55 +00:00
thorpej 0835b779d1 Simplify sbdsp_pause(). 2000-01-20 19:27:03 +00:00
mycroft 01c66d1c23 Mute the DAC -- not the master volume -- on close, so that CD passthrough is
unaffected.
2000-01-18 22:11:05 +00:00
ad a0d0bf907a Use pcdisplay_cursor_init(). 2000-01-05 18:27:47 +00:00
ad e75404417a Add and use pcdisplay_cursor_init(). Still a couple of nits with this, I
will resolve when I can test properly.
2000-01-05 16:14:35 +00:00
chopps 882236e45c add if_ntwo_isa driver for the Riscom/N2 card. 2000-01-04 06:30:04 +00:00
chopps 93bc2af93e Add Riscom/N2 isa driver, most of the probe code was adapted from the
freebsd if_sr.c driver.
2000-01-04 06:29:21 +00:00
itohy 38e8851905 - Unmuting an external input source (CD playback, line input, and speaker)
now prevents power down/save the device.
  The external input sources are muted by default at initialization.
- Change "power.power.*" to "power.save.*".  Sorry, spec change....
- Shorten tsleep(9) ident string for "ps l".
1999-12-27 03:21:56 +00:00
drochner ca8e2a94ea First cut on an EGA driver. For initial testing, lacks some EGA vs CGA/MGA
identification. Can share more code with VGA later.
1999-12-13 16:28:57 +00:00
drochner 0893832078 update for changed struct wsdisplay_accessops:show_screen signature.
no functional changes
1999-12-06 19:25:56 +00:00
sommerfeld 878fa4790f Fix "make includes" since pckbc moved to dev/ic from dev/isa
(Hi, Jason!)
1999-12-04 02:16:24 +00:00
thorpej 4560ac465a Split the PC-like keyboard controller driver into chip back-end and
bus front-end.
1999-12-03 22:48:22 +00:00
thorpej d8719f61c9 Get ready for some needed flexibility; put the IRQs to use for each slot
in the softc.
1999-12-03 19:02:49 +00:00
mcr 4429aebc03 added support for BOCA 6port ISA adapter. 3x16552 with an
interrupt status register at yet-another-address.
	ioat0   at isa? port 0x220 irq 5 flags 1# BOCA 'ioat66' 6-port cards
	com*    at ioat? slave ?
1999-11-15 21:13:38 +00:00
augustss 3fc5780b19 Allow irq 15 since some clones use it. 1999-11-02 23:35:02 +00:00
augustss 35483ee3bf Set mixer controls after a reset. 1999-11-02 17:05:05 +00:00
augustss 860ebb7a92 Make little endian and big endian version of all functions
that deal with 16 bit samples.  Let the drivers decide which ones
to use.
1999-11-01 18:12:19 +00:00
matt b2db663942 fix entry for lemac on isa. add entry for wavelan on isa 1999-10-29 21:38:04 +00:00
drochner b4fc704a74 avoid cast 1999-10-25 19:39:54 +00:00
haya 4eee111127 This is the first check-in of CardBus driver. CardBus driver contains
CardBus bus stub, YENTA PCI-CardBus bridge (cbb), 3Com 3C575TX driver
(ex) and Intel fxp driver.

TODO:
  o Conform to the KNF more strictly.
  o Be unified with pcmcia code as much as possible.
  o Add more drivers for CardBus card, such as APA-1480 or USB card.

The affected files are listed below.

	sys/arch/i386/conf/files.i386
	sys/arch/macppc/conf/files.macppc
	sys/conf/files
	sys/dev/ic/elinkxl.c
	sys/dev/ic/elinkxlvar.h
	sys/dev/ic/i82365.c
	sys/dev/ic/i82365var.h
	sys/dev/isa/i82365_isasubr.c
	sys/dev/pci/files.pci
	sys/dev/pcmcia/pcmcia.c
	sys/dev/pcmcia/pcmciachip.h

The added files are listed below.

	sys/arch/i386/conf/CARDBUS
	sys/arch/i386/include/rbus_machdep.h
	sys/arch/i386/i386/rbus_machdep.c
	sys/arch/macppc/include/rbus_machdep.h
	sys/arch/macppc/macppc/rbus_machdep.c
	sys/dev/cardbus/if_ex_cardbus.c
	sys/dev/cardbus/Makefile.cardbusdevs
	sys/dev/cardbus/cardbus.c
	sys/dev/cardbus/cardbus_map.c
	sys/dev/cardbus/cardbusdevs
	sys/dev/cardbus/cardbusdevs.h
	sys/dev/cardbus/cardbusdevs_data.h
	sys/dev/cardbus/cardbusvar.h
	sys/dev/cardbus/cardslot.c
	sys/dev/cardbus/cardslotvar.h
	sys/dev/cardbus/devlist2h.awk
	sys/dev/cardbus/files.cardbus
	sys/dev/cardbus/if_fxp_cardbus.c
	sys/dev/cardbus/pccardcis.h
	sys/dev/cardbus/rbus.c
	sys/dev/cardbus/rbus.h
	sys/dev/pci/pccbb.c
	sys/dev/pci/pccbbreg.h
	sys/dev/pci/pccbbvar.h
1999-10-15 06:07:17 +00:00
mycroft 04a784cb79 Fix one more #ifdef, and now it actually compiles again. *sigh* 1999-10-10 00:14:44 +00:00
mycroft f52d37c204 Oops; this should get mpu.h, not midi.h. 1999-10-10 00:10:26 +00:00
mycroft 92ce7e96c6 NMIDI -> NMPU, to be consistent with sbdsp.c. 1999-10-10 00:08:24 +00:00
mycroft c5056ddd8c NMIDI -> NMPU, to be consistent with sbdsp.c. 1999-10-09 20:57:28 +00:00
mycroft 88a9173b10 NMIDI -> NMPU, to be consistent with sbdsp.c. 1999-10-09 20:54:36 +00:00
itohy 2b98e16426 Oops! Make it compile again. 1999-10-07 08:16:51 +00:00
itohy a44328a50e Fix power-related init code.
Change the default mixer setting to make wave and OPL3 volume even.
Mute the chip during attach not to make noise.
1999-10-07 03:28:56 +00:00
itohy 4aba617989 Add "opl at ym" and "mpu at ym" attachment.
Options for ym driver are defopt'ed.
1999-10-05 03:48:27 +00:00
itohy 871f1c2c0a New ym driver.
1. Add power control to reduce power consumption.
    The behavior can be controlled by mixerctl(1).
 2. Add suspend/resume hook to keep the parameters.
    Currently this includes CODEC and control registers but
    does not include the DMA state.  FIXME.
 3. Support "opl at ym" and "mpu at ym" attachment.
    Actually, this is required for power control.
 4. Add support for the on-chip 3D enhancement hardware.
    This includes bass/treble enhancement, wide stereo, and
    the equalization mode.  This can be controlled by mixerctl(1).
 5. Make "audioctl -w play.gain=xxx" work like as
    "mixerctl -w inputs.dac=xxx" and now it changes
    the wave output volume correctly.
 6. Support hardware master volume switches.
 7. Change formula of calculating gain so that all the levels
    should be used equally.
 8. Change "audioctl name" to "OPL3-SA3" and "audioctl version"
    to the version of the chip.
1999-10-05 03:46:08 +00:00
itohy d82343a7ec Add power control hooks.
Make the wave output mute while playback is inactive.  This significantly
reduces noises while preparing playback, especially by mpg123.
1999-10-05 03:44:31 +00:00
itohy 3b2be55d69 Add power control hooks. 1999-10-05 03:42:53 +00:00
itohy 0fed0f8872 "mpu at ym" attachment glue for making use of
Roland MPU401 compatible MIDI port on Yamaha OPL3-SA3.
1999-10-05 03:41:05 +00:00
itohy 04c1bf41b9 "opl at ym" attachment glue for making use of
OPL3 FM synthesizer on Yamaha OPL3-SA3.
1999-10-05 03:40:21 +00:00
thorpej a3ef0b7a6d Fix compilation of ISA bha front-end. PR #8528, Takahiro Kambe. 1999-10-01 18:17:12 +00:00
thorpej 63b8530b4e Update for SCSPI changes. 1999-09-30 23:04:39 +00:00
is 4efecd1291 The nca.c probe routine falsely claims i82595tx chips to itself.
Move it to after the iy driver.
1999-09-09 09:54:08 +00:00
soren a4b7a96e0e Do not complain in sbfind() if another driver has mapped the registers. 1999-09-07 00:49:41 +00:00
rh ff962e992b Add mode 3 support for newer CS423X chips. Modify probe to correctly
distinguish between CS4236, CS4236B, and CS4237B.
1999-09-06 17:07:04 +00:00
thorpej 90b9deda72 When padding short packets on transmit, don't include the CRC length
in the computation.  kern/8194.
1999-08-25 22:41:42 +00:00
augustss 19570e813c Implement opl at wss. 1999-08-14 21:19:29 +00:00
drochner 7317aa4924 make it report the correct ISA port range 1999-08-14 14:32:12 +00:00
augustss 03c29debf5 Make this file compile again. 1999-08-05 11:25:47 +00:00
augustss 84d5e946e6 Use NMPU not NMIDI around call to mpu_intr. 1999-08-04 10:50:52 +00:00