msaitoh
2d5b32dd03
fix an invalid panic message.
1998-12-17 17:45:08 +00:00
bouyer
85078af6c4
Add a new quirk flags, "ADEV_NOSENSE", for devices that don't
...
handle properly the request sense command. Add <FX320S, , q01> as being
sense-unfriendly in the quirk table.
1998-12-17 13:05:05 +00:00
bouyer
f1addbd3fd
Defer mapping of pci interrupt to pciide_mapregs_native(). This way,
...
the native interrupt shouldn't be mapped if a channel is in native mode,
but disabled.
1998-12-16 13:21:26 +00:00
bouyer
945acd7834
Leave some room for the string-terminating char in temp. buffers.
...
Pointed out by Scott Presnell (thanks !).
1998-12-16 13:06:52 +00:00
bouyer
c37bf0ccb4
Keep track of DMA errors, and downgrade the transert mode (UDMA ->DMA,
...
DMA->PIO) in case of 2 consecutive errors. Don't downgrade if the
PIO/DMA/UDMA modes were forced by a config flag.
1998-12-16 13:02:03 +00:00
bouyer
1f0d6730cc
Switch to single-sector transfert mode only for the last retry, to let
...
a chance to the underlying driver to downgrade the mode first.
1998-12-16 13:00:02 +00:00
bouyer
2093338697
Rearange the modes setup to allow these to be dyanmically changed. Fill
...
in the new "set_mode" callback.
1998-12-16 12:48:45 +00:00
bouyer
94f32463dc
Add a callback to re-compute the modes used on a channel.
1998-12-16 12:46:47 +00:00
christos
bbe8b4dde5
Add Byte Runner Technologies TC-400 and TC-800 driver from Eric S. Hvozda
1998-12-16 11:33:50 +00:00
augustss
b4cf442656
Fix a MIDI buffer overflow problem. Fixes PR 6583.
...
Patch from Ales Krenek <ljocha@ics.muni.cz>
1998-12-15 18:03:07 +00:00
drochner
4f720cad14
make sure programs cannot write to the screen while it is in graphics mode
1998-12-15 14:25:59 +00:00
augustss
cb022e620d
Initialize field to indicate fragment block.
1998-12-14 23:44:04 +00:00
drochner
2e89d55ed4
Deal with an unusual response on port selftest commands. This makes at
...
least John Kohl's crappy Dell box work.
1998-12-14 13:54:25 +00:00
nisimura
8bb7627336
- Fix typos in commentary description.
1998-12-14 02:45:51 +00:00
thorpej
b33907f299
Don't DMA the scsi command from or the sense data to the scsipi_xfer
...
directly. That would require that we map the scsipi_xfer into DMA
space. Instead, copy to/from the NCR CCB, which the script already
has to DMA to/from. These copies are small, and don't seem to affect
performance.
1998-12-13 00:11:37 +00:00
thorpej
178fc3cc05
Step 3:
...
Use DMA maps for the actual data transfers.
1998-12-12 23:41:56 +00:00
mycroft
95aa0d0b7d
Simplify the copy loops a bit.
1998-12-12 16:58:10 +00:00
mycroft
90b7cbc727
Simplify argument to MGET(), to generate better code.
1998-12-12 16:36:24 +00:00
mycroft
a6717054a4
Slight simplification to previous.
1998-12-12 16:31:34 +00:00
augustss
eeb8a988a9
Oops, I commited the wrong version before.
1998-12-12 12:18:26 +00:00
augustss
f8c84e3e97
Initialize variable to make gcc happy.
1998-12-12 12:06:53 +00:00
augustss
ef6d3553ea
Move initialization of sce around.
1998-12-12 11:59:28 +00:00
thorpej
3cc30b3641
Step two:
...
Use DMA-safe memory for the script instances. The most important thing
here is that is guarantees that the script is contiguous in DMA space.
1998-12-12 00:19:13 +00:00
thorpej
086b4b0bf1
Step one of bus_dma'ing the PCI NCR driver:
...
Separate the ncb (i.e. softc) members that are accessed by the script into
a separate structure. Allocate one of these structures in DMA safe memory
using bus_dma, and change RELOC_SOFTC to use the DMA address of this
structure.
1998-12-11 23:21:11 +00:00
bad
fe3ce4e89a
Simplify the code dealing with the mbuf chain in dp8390_get().
1998-12-11 18:03:55 +00:00
augustss
09dd50c412
Regen.
1998-12-11 17:44:41 +00:00
augustss
d39ff672ac
Add Imation disk.
1998-12-11 17:43:31 +00:00
bad
ba8bdebedd
Change a comment to reflect reality.
1998-12-11 16:01:16 +00:00
augustss
3e85b3dd48
Move spls around.
1998-12-11 00:05:07 +00:00
augustss
46e04a18a1
Take care of some lines > 80 chars.
1998-12-10 23:16:47 +00:00
augustss
b94cb7b768
Add a driver for the S3 SonicVibes chip. From OpenBSD and
...
Constantine Paul Sapuntzakis (csapuntz@cvs.openbsd.org ) with
some changes by me.
XXX The driver still needs work.
1998-12-10 18:47:18 +00:00
mjacob
7f5c8f7db2
add Adaptec RAID units as devices that do not return geometry pages
1998-12-10 18:13:29 +00:00
augustss
95f1a325a2
Change a printf a little.
1998-12-10 16:13:48 +00:00
thorpej
93e17878d1
Regen.
1998-12-09 23:57:58 +00:00
thorpej
02d7f1236c
Some more touchup on the VIA Rhine chip model number, and so some
...
sorting.
1998-12-09 23:57:35 +00:00
tls
2fbbdcc0cb
Fix bug that caused all ifp's to have if_xname ntwo0, which was rather inconvenient. Should use config_found on each port instead, but this works for the moment and it's quick.
1998-12-09 23:25:41 +00:00
drochner
35345a1311
make compile without USB_DEBUG, wrap lines to 80 cols
1998-12-09 19:24:28 +00:00
thorpej
7a9cc5bfbc
Update for changed scsipi_xfer struct.
1998-12-09 08:37:50 +00:00
leo
5335909035
BVME410 ethernet driver by 'maximum entropy'.
1998-12-09 07:33:59 +00:00
augustss
1fdafa2f13
Insert some splusb() since memory allocation and deallocation can
...
occur from an interrupt.
1998-12-09 01:02:29 +00:00
augustss
c8736358e3
Clear stall condition on interrupt pipe.
1998-12-09 01:01:24 +00:00
augustss
f8b9a417f0
Improvement to the ugen driver.
...
Better error checking.
Some code rearrengment.
1998-12-09 00:18:10 +00:00
augustss
28d60e8711
Use plaintest error messages for debugging.
1998-12-08 15:48:18 +00:00
augustss
d26c277522
Add a generic USB driver. It allows easy access to descriptors, the
...
control pipe via ioctl() and read() and write() access to bulk and
interrupt pipes.
1998-12-08 15:39:00 +00:00
augustss
4d19a06c27
Some minor API changes and additions.
1998-12-08 15:18:45 +00:00
augustss
dfff19e3d3
Take care of return code from uiomove().
1998-12-08 15:12:24 +00:00
augustss
43c3030bd5
Print plain text error codes.
1998-12-08 14:34:08 +00:00
augustss
0280322dcb
Change debug level of a printf.
1998-12-08 14:31:58 +00:00
augustss
1b499d8ce6
Make the OPL information string more informative.
1998-12-08 14:26:56 +00:00
bouyer
997074f17c
Add a missing 'return' in an error path; noticed by Matthias Drochner.
1998-12-08 13:29:31 +00:00