Commit Graph

2292 Commits

Author SHA1 Message Date
drochner
f4e17ffbfe Use the new com_is_console() to decide if the port is already initialized.
XXX shouldn't the attach() use the existing handle if present???
1997-08-23 14:06:17 +00:00
drochner
7ac5d81dbd Use the new com_is_console() to decide if the port is already initialized. 1997-08-23 14:03:54 +00:00
drochner
d36e668737 clean up the serial console / KGDB attachment:
-put all early console / KGDB initialization into 1 exported function
  (com_*_attach()) each, dont use global variables anymore
-use the passed tcflag_t for port settings instead of hardwiring 8N1
-at autoconfiguration attach time, decide if the attaching device is
  already console / KGDB by comparing bus tag and base addr (cgd's wish)
-export a function "com_is_console()" for use by driver frontends for
  this comparision
-delay setting of cn_tab->cn_dev until autoconfiguration attach
  to get the minor number right
-delete unused comcnprobe() and comcninit()
1997-08-23 14:01:32 +00:00
drochner
d8453956fc regen 1997-08-23 13:45:11 +00:00
drochner
91c75e9870 Add one more graphics chip. 1997-08-23 13:44:06 +00:00
thorpej
12ef0b5d17 Merge the FreeBSD-current-970823 version of the "fxp" driver, adds support
for more PHYs.  Closes PR #3953.
1997-08-23 09:28:13 +00:00
mjacob
e349ac7eb5 If SCSIVERBOSE is enabled, call the routine to print out detailed sense
information.
1997-08-20 18:20:12 +00:00
mjacob
e919735e35 Add in (enabled by SCSIVERBOSE option since it adds a fair amount of string
gup to the kernel) more detailed SCSI error printing, based off of final
SCSI-2 specification. This will also print out things like progress indicator
errors, and will also dump out additional sense bytes that haven't been decoded.

Also, turned the error message 'DELAYED' to 'DEFERRED' since that's more
accurate.
1997-08-20 18:19:12 +00:00
mjacob
77116c198a Add in prototype for routine to print SCSI errors in detail. 1997-08-20 18:11:37 +00:00
augustss
8fdd7cab62 Convert WSS driver to use non-broken indirect configuration. 1997-08-20 15:26:25 +00:00
augustss
332ad95e76 Change the MI audio driver so it attaches to the MD driver in the
normal way.  This requires adding a line to the config files to
get audio to work again.
1997-08-19 23:49:33 +00:00
augustss
f78dfdfe6e Avoid munging audio_defaults. 1997-08-19 23:35:44 +00:00
augustss
e5b75f05d4 Make a slight change to when blocksize, hi- and lo-water marks are
recalculated.  The new semantics is more intuitive(?) and makes Doom
work :-)
1997-08-18 23:20:09 +00:00
augustss
34085fae66 Implement /dev/audioctl. It behaves much like /dev/sound, but only
allows ioctl() and can be opened at any time.
1997-08-18 21:19:02 +00:00
mjacob
4aa2f7013c A few more SDEV_NOLUNS entries- one tape drive (SONY Beta/VHS) and a couple
of PCMCIA card readers (one as T_DIRECT, the other as T_PROCESSOR).
1997-08-17 16:25:11 +00:00
drochner
570688abef Bring back the "comconsattached" flag. It is necessary for starred
com devices (on non "__BROKEN_INDIRECT_CONFIG" ISA).
1997-08-16 08:33:08 +00:00
mjacob
ee328c6f18 This fibre channel disk doesn't support the geometry page. 1997-08-16 01:05:51 +00:00
mjacob
50d4bdf35c Merge foo. 1997-08-16 00:56:52 +00:00
mjacob
695bb7c37e Addition of PCI Qlogic ISP2100 (Fibre Channel) support meant a slight
change in f/w layout.
1997-08-16 00:30:37 +00:00
mjacob
24add65376 Major rework to support Qlogic ISP2100 (Fibre Channel PCI card). Also now
able to read SXP registers (instead of panicing). Probably have done a bit
of setup overkill- we now alloc some scratch memory for the 2100 that I thought
I would need for the Port database, but so far I haven't needed to retrieve
the port database. Well, early days yet.
1997-08-16 00:28:10 +00:00
mjacob
9de423f255 Add in PCI_PRODUCT_QLOGIC_ISP2100. 1997-08-16 00:25:43 +00:00
mjacob
14a7730c16 *Major* differences to support the Qlogic 2100 (Fibre Channel PCI), as well
as being able to do microdifferentiation of the ISP SCSI chip; a couple of
bug fixes, and the beginnings of some watchdog support.
1997-08-16 00:22:11 +00:00
mjacob
7540ed1699 Differences necessary to support the Qlogic 2100 (Fibre Channel PCI
Card)
1997-08-16 00:20:28 +00:00
mjacob
49d40727ff Defines and structures necessary to support the Qlogic 2100 (Fibre Channel
PCI card); Some additional defines to try and manage various flavors of
the SCSI host adapters (parameters for various SYNC modes).
1997-08-16 00:18:36 +00:00
mjacob
2c7696de16 Additional defines and structures necessary to support the Qlogic ISP 2100
Fibre Channel PCI card.
1997-08-16 00:16:40 +00:00
explorer
f1947d6a44 add SDEV_NOLUNS for my scanner (UMAX S-6E) 1997-08-14 22:17:32 +00:00
drochner
8aa62d76fc Regen with new RCS ID. (thanks, Bernd) 1997-08-14 16:31:13 +00:00
drochner
b426bd9be3 -Export variables needed for system console initialization.
-Enable line break interrupt for DDB on a serial console.
-Share initialization code between DDB and KGDB.
1997-08-14 16:15:15 +00:00
drochner
e588696c8e Include some more stuff. 1997-08-14 15:41:49 +00:00
jtk
0076beb284 fix multi-port serial drivers to reflect recent changes to com driver for console/kgdb 1997-08-13 21:26:52 +00:00
drochner
d5998780c0 KGDB improvements:
-Separate KGDB port initialization and softc related stuff to allow
 KGDB to be attached in early system startup, before autoconfiguration.
-Export the variables needed by md code to hand-craft bus tag/handle.
-Fix initialization to enable interrupt by line break.
-Call DDB/KGDB at line break (move DDB call from the softirq handler
 to the hard handler because it should work without a tty attached too).
1997-08-12 17:25:43 +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
augustss
8f096d087f Implement delivery of SIGIO on changes to /dev/mixer. 1997-08-11 01:38:12 +00:00
augustss
b99285b1e4 Round mixer values correctly when setting them.
This is important for the OSS emulation since OSS
uses a different range of values for the mixer.
1997-08-11 01:08:13 +00:00
jonathan
1e10e23444 Add back ia->iobase to initializer macros for softc device-register offsets. 1997-08-08 09:38:18 +00:00
augustss
9a770a177f Make setting the audio block size sticky.
Change the calculated block size to correspond to 50 ms of sound
(was 20 ms, it seems needlessly small).
1997-08-08 00:03:26 +00:00
augustss
e04b361dd6 Add A-law support and fix bug on opening GUS max.
From Feico Dillema <dillema@spam.aurum>.
1997-08-07 22:48:10 +00:00
christos
b73326ecdd GC unused connector finding code. This has moved to epconfig(). 1997-08-07 19:46:22 +00:00
scottr
6b1b87f213 spltty() does not drop the SPL; use splx() instead. 1997-08-07 19:22:45 +00:00
augustss
a425e37505 Add a 'return 1' that got lost in the last commit. 1997-08-07 12:14:39 +00:00
augustss
3c6f8bc89e Restructure a little to make sure AUDIO_FLUSH restarts the looping DMA. 1997-08-06 23:08:26 +00:00
fair
aae99e192d %x -> 0x%x 1997-08-06 07:39:59 +00:00
mikel
d3174941cd don't clobber bus_space_{,un}map macros 1997-08-06 04:52:29 +00:00
jonathan
ab87c23f0b Use <bus.h>. 1997-08-05 01:13:50 +00:00
augustss
3bcc377a4c Implement a function to test if a drq is taken and use it
in two drivers.  There are still many drivers left to fix...
1997-08-04 22:13:32 +00:00
augustss
1fea370221 Get rid of `register'. 1997-08-04 19:05:27 +00:00
augustss
37d4460397 Get rid of `register'. 1997-08-04 18:47:16 +00:00
fair
c27c286843 %x -> 0x%x 1997-08-04 10:00:11 +00:00
augustss
c392128002 Audio:
* Make it possible to use software assisted encodings that expand the
  sample size.
* Use 16 bits per sample when emulating mulaw coding on the SB.
* Prepare for SB16 without CT1745 mixer.
1997-08-04 09:29:51 +00:00