Commit Graph

10981 Commits

Author SHA1 Message Date
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
haya
2228225e5c Add some register definitions for TI PCI12XX and Toshiba ToPIC.
Add ToPIC97 and ToPIC100 chip initialisation routine.
Add more TI PCI12XX chip initialisation.
2001-08-30 09:20:17 +00:00
briggs
6017201500 Rename PCI_MAPREG_TYPE_ROM to PCI_MAPREG_ROM_ENABLE to keep up with pciconf.? 2001-08-30 02:53:56 +00:00
briggs
e4f8f2f2da Respect __PCI_BUS_DEVORDER.
If all devices can handle 66MHz, then use 66MHz.
Triple the number of configured I/O ranges that we can handle on a bus
  (8 was insufficient--originally didn't consider multifunction devices)
Allow one to specify which types of memory to configure, I/O, ROM, or
  MEM--for example, one could configure only ROM or only non-ROM.
Ensure that the ROM is disabled if we're not configuring it.
Only set PCI_COMMAND_IO_ENABLE/PCI_COMMAND_MEM_ENABLE if there are valid
  memory ranges configured.
2001-08-30 02:52:41 +00:00
briggs
665cc59e75 Ensure that data accessed by the ADW driver in memory is in
little-endian byte-order.  This should work out to be a no-op
for LE systems, and allows BE systems to use the board.

Tested on PPC, reviewed by Dante.

NOTE: The board/microcode does have a BIG_ENDIAN mode of operation,
but it's not well-documented.  That might be interesting to investigate
at some point in the future, though.
2001-08-29 17:25:03 +00:00
tsubai
de0feee64b Regen. 2001-08-28 23:54:14 +00:00
tsubai
7cba152e7c Add more Apple devices. 2001-08-28 23:53:14 +00:00
thorpej
14f612c5b3 - Swap the bytes OR'd into init_ladrf[], for big-endian machines.
- Make sure to sync the init block.

Pointed out by Izumi Tsutsui.
2001-08-28 15:22:30 +00:00
thorpej
2e4bdfe678 Add a TODO item: Do this in 2 passes. One pass that configures the
bus (and optionally maps expansion ROMs), and an optional second
pass to disable expansion ROMs that are mapped.  This would allow
MD code to possibly execute the expansion ROMs (possibly in an x86
emulator) to configure a device (e.g. a VGA card, which pretty much
needs to be configured by its ROM).
2001-08-28 15:13:48 +00:00
thorpej
cdf824bfb6 If MD code doesn't provide pci_conf_hook(), then default to not mapping
the expansion ROMs on cards, since address decoders may be shared between
the ROM and PCI memory space on some cards (i.e. "only map the ROM if you're
going to use it, and then unmap it when you're done" is the intended
usage).
2001-08-28 15:09:10 +00:00
thorpej
fdb02063d2 Print "auto-FDX" for the second "autoselect" instance. Pointed out
by Izumi Tsutsui.
2001-08-28 14:15:18 +00:00
eeh
8949c133a4 Get rid of debug printf. 2001-08-27 22:38:34 +00:00
augustss
8afb9f3591 Use #include <machine/intr.h> instead of #include <machine/cpu.h> to
improve portability.
2001-08-27 22:37:33 +00:00
augustss
7b55182d7d Remove an unneeded #include. This makes the file compilable on more
platforms.
2001-08-27 22:18:49 +00:00
augustss
3346d43a5b Make it compile. 2001-08-27 22:17:29 +00:00
thorpej
1930fec887 New driver for the AMD PCnet-PCI family of Ethernet chips. This
driver uses direct DMA to mbufs (like other PCI network drivers,
and unlike the old "le at pci" driver), and also supports communication
with the MII-connected PHYs on the 10/100 boards.
2001-08-27 19:42:18 +00:00
eeh
b22154dd79 Make the LMC driver bus_dma and endian clean (big-endian mode does not appear
to work on LMC cards).
2001-08-27 17:47:35 +00:00
enami
97e7cd9cf9 For hayes esp card, set prescaler if specified rate is grater than 115200. 2001-08-27 14:27:01 +00:00
enami
4f924773b7 Regen. 2001-08-27 14:10:20 +00:00
enami
02d004f2c8 Sort Intel products by id and kill duplicated entries. 2001-08-27 14:04:47 +00:00
ad
13bc6b2e19 Use PWAIT for the lock, not 0. 2001-08-27 11:24:38 +00:00
ad
ffb2d70070 Regen. 2001-08-27 08:03:37 +00:00
ad
8fb0b8c6dc Add a DPT PCI-PCI bridge. 2001-08-27 08:02:52 +00:00