Commit Graph

11003 Commits

Author SHA1 Message Date
thorpej
8b59971a0d Don't compare bp->b_dev against RAW_PART; use the `part' local variable
instead.
2001-09-06 00:47:56 +00:00
mjacob
7492be3d51 Fix a misspelled error message.
Temp work around problems where if we allow for non-polled mailbox commands
we got nailed by hardclock calling is for a timed thaw. Basically, this
means we only enable non-polled mailbox commands in the FC kthread when it
calls isp_fc_runstate.
2001-09-05 23:08:23 +00:00
mjacob
b33b6111a5 Clean up some issues wrt loaded f/w vs. resident f/w. We can tell
attributes of some variants of FC f/w (SCCLUN or not). Fake f/w
rev for SBus cards- the f/w versions we're using don't return
version in outgoing mailbox registers like they should.
2001-09-05 23:05:20 +00:00
mjacob
9e2fd2fee9 Synchronize with FreeBSD/Linux. 2001-09-05 22:32:38 +00:00
pooka
c89755275a * make this match the Psion Goldcard
* teach it to read the MAC addr from the correct place (from OpenBSD)
* change order of intr_dis/establish() and function_en/disable() to
  avoid panics on this multifunction card due to the CCR window
  not being mapped in intr_dis/establish()
2001-09-05 16:40:06 +00:00
drochner
fda9e2aea5 regen 2001-09-05 13:47:59 +00:00
drochner
2fb05724bd we (research center Juelich) are a PCISIG member now - add the vendor ID
and some products
2001-09-05 13:46:51 +00:00
thorpej
bf1843f270 Regen; added Intel IXP1200 Network Processor. 2001-09-04 21:06:07 +00:00
thorpej
0234925705 Add product ID for the Intel IXP1200 Network Processor. 2001-09-04 20:51:44 +00:00
drochner
f2d93c6685 add encoding for ISO-2 2001-09-04 17:57:16 +00:00
drochner
03d3e7a8b4 -update a comment wrt the "active screen" flag
-apply the patch from PR kern/13117 (Onno van der Linden) to make the
 hardware cursor disappear more thoroughly
-deal with PR kern/13573: hardware cursor too big, but differently:
 we have to obey the font size actually used. At this point, fix the
 problem that the cursor got messed up by the initialization of
 unrelated screens.
2001-09-04 17:14:49 +00:00
drochner
f2fabb4c48 simplify the way the "active screen" is kept track of a bit 2001-09-04 17:06:54 +00:00
pooka
ffb40898f7 regen.. again.. *sigh* 2001-09-04 15:37:30 +00:00
pooka
4fb856e4eb add Allegro-1 ID
also from Jared D. McNeill
2001-09-04 15:37:00 +00:00
drochner
6d3056d1a3 -fix a debug message
-unref font(s) if a screen is deleted, so they could be unloaded
 if dev/wsfont supported it
-add missing pieces to support screen types with font sizes != 8x16
 as system console - now
options VGA_CONSOLE_SCREENTYPE="\"80x50\""
options FONT_VT220L8x8
 gives you what you'd expect
2001-09-04 15:32:22 +00:00
pooka
98f97b89ce regen 2001-09-04 15:24:59 +00:00
pooka
c68e12b73b add another device ID for the ESS Maestro3
from Jared D. McNeill
2001-09-04 15:24:35 +00:00
itohy
95411a84f0 Add "opl at cmpci" and "mpu at cmpci" attachment. 2001-09-04 13:37:29 +00:00
itohy
6bdd186c4e - Add opl at cmpci attachment.
- Add mpu at cmpci attachment.
- Fix panic during attach on alpha.
- Change register of SPDIF input phase (but undocumented, either).
- Change code for mixer initialization.
- Return 1, not 0, when an interrupt is processed.

More changes to the mixer are pending....
2001-09-04 13:36:07 +00:00
itohy
5934ac98b2 MPU-401 compatible MIDI UART driver for C-Media CMI8x38 2001-09-04 13:07:59 +00:00
itohy
d655e11596 OPL3 driver for C-Media CMI8x38 2001-09-04 13:07:11 +00:00
thorpej
150e62c0f9 Use bus_space_mmap(). 2001-09-04 06:59:10 +00:00
enami
1b4cef2087 Add prescaler bit constant (missed in previous commit). 2001-09-04 01:33:14 +00:00
is
8d9290c427 Allow 24 and 32bit linear audio.
Actually, the silence filler can do any multiple of 8 bits now, but I didn't
allow the parameter check to accept more than 32 bit to avoid confusion
of drivers that fail to check the parameters themselves thoroughly.
This should be changed later.
2001-09-03 18:51:43 +00:00
sommerfeld
3b5dda2596 Don't spinlockinit a simple_lock; simple_lock_init it instead. 2001-09-03 18:13:13 +00:00
drochner
09accd52c0 manage fonts through the wsfont framework, which allows to use both
compiled-in or runtime loaded fonts,
keep font pointers in a LRU queue and load into the adapter on demand,
 so we can have more fonts in use than physical font slots

CAUTION: font loading through the wsdisplay device directly into the
adapter doesn't work anymore!
2001-09-03 17:34:07 +00:00
thorpej
f7a403a447 Define more caching parameters from SCSI-3. 2001-09-03 17:14:49 +00:00
drochner
cb896c703c implement a pseudo-device wsfont for access to the wsfont machinery 2001-09-03 17:05:20 +00:00
drochner
056402167e make dynamic font addition usable,
export font matching function for common use
2001-09-03 17:04:11 +00:00
reinoud
e8858886be Fixed compiling error when AUDIO_DEBUG was switched on ... 2001-09-03 15:07:37 +00:00
reinoud
cd44f820c2 Make it compile again when AUDIO_DEBUG is turned on ... in sequencesread
and sequencerwrite were two debug messages that had a type conflict in the
printf. I put in a (int) to solve it.
2001-09-03 14:52:29 +00:00
thorpej
a73a7f44bd Bump MAX_CONF_DEV to 32, add some missing newlines in error
messages, and add a TODO item (allocate all metadata dynamically).
2001-09-03 03:46:26 +00:00
thorpej
3ac8a43f8b Comment what the PF bit means in the MODE SELECT command, and
define a scsipi_mode_page_header, which has the common fields
(page code and page length) of all mode pages.
2001-09-02 22:06:16 +00:00
thorpej
dda09e1b39 Add the Force Unit Access and Disable Page Out bits to the
READ(10) and WRITE(10) commands.
2001-09-02 20:17:04 +00:00
thorpej
e6bfee4968 Use the AUDIO_PAGE definition common to SCSI and ATAPI. 2001-09-02 19:53:40 +00:00
thorpej
ac7519b12e Centralize the definition of the page code mask and page-savable bit
in the pages returned by MODE SENSE.
2001-09-02 19:35:20 +00:00
thorpej
d737e7fda8 Oops, name the caching parameters page structure member. 2001-09-02 16:47:45 +00:00
enami
26ea33d355 Fix an obvious typo found while reading the source. 2001-09-02 13:17:54 +00:00
tsutsui
354cce66e5 Use be16toh(), be32toh(), le16toh() and le32toh() rather than
ntohs(), ntohl() or homegrown bswap() functions.

XXX Does anyone use drives with PQUIRK_LITTLETOC on big endian machines?
2001-09-02 13:11:53 +00:00
tsutsui
a234112f80 Make 3C509[B] in ISA mode probed correctly on big endian machines. 2001-09-02 06:46:57 +00:00
thorpej
1cbbd5c37c Disable all of the RF_ASSERT()s by default, enabling them if the
RAID_DIAGNOSTIC option is specified in the kernel configuration
file.
2001-09-01 23:50:43 +00:00
mjacob
6bb9f4a949 Add support for 2 Gigabit cards (2300/2312). This necessitated a change
in how interrupts are down- the 23XX has not only a different place to check
for an interrupt, but unlike all other QLogic cards, you have to read the
status as a 32 bit word- not 16 bit words. Rather than have device specific
functions as called from the core module (in isp_intr), it makes more sense
to have the platform/bus modules do the gruntwork of splitting out the
isr, semaphore register and the first outgoing mailbox register (if needed)
*prior* to calling isp_intr (if calling isp_intr is necessary at all).
2001-09-01 07:12:23 +00:00
thorpej
2cf7638731 Add the caching parameters mode page. 2001-09-01 02:39:21 +00:00
mjacob
18e1071fce Add table value for Ultra3, so configuring an Ultra3 disk shows:
sd1: sync (12.5ns offset 14), 16-bit (160.000MB/s) transfers, tagged queueing enabled

instead of:

sd1: sync (36.0ns offset 14), 16-bit (55.554MB/s) transfers, tagged queueing enabled
2001-09-01 00:54:38 +00:00
mjacob
4986b9ee8b Ulp! Open Wide! Another Firmware Enchilada!
2-Gigabit card firmware.
2001-08-31 22:28:37 +00:00
augustss
60ffafe273 Add a new quirk, PQUIRK_NOBIGMODESENSE, for devices that need big
SCSI ops, but still fails on big mode sense.
Makes M-Sys DiskOnKey work.
2001-08-31 07:09:41 +00:00
augustss
033a7fa40d Some quirks for USB M-Sys DiskOnKey. Still not enough to make it work. 2001-08-31 06:54:42 +00:00
briggs
e6ca9b3514 Fix use of uninitialized variable. Missed by gcc, spotted by enami. 2001-08-31 01:00:16 +00:00
soren
9b39be0b69 Regen. 2001-08-30 16:22:48 +00:00
soren
6863a605e0 Add some more Hifn chips. 2001-08-30 16:21:42 +00:00