Commit Graph

1146 Commits

Author SHA1 Message Date
tshiozak
5b51f5ebe2 fix forgotten/malformed initialization of some variables.
(pointed out by Krister Walfridsson.)
2001-05-25 19:33:36 +00:00
augustss
e25bf167a1 Regen. 2001-05-22 10:43:15 +00:00
augustss
f43e2c6ba1 Add Scanjet 4300. 2001-05-22 10:38:56 +00:00
jhawk
4af61a686a oops. Make it compile. 2001-05-22 00:43:12 +00:00
jhawk
b5805fa0c8 Sigh. Regen correctly. 2001-05-22 00:41:52 +00:00
jhawk
7a31dfa328 Supoprt the IOGEAR/ATEN UC-232A, which uses the Prolific 2303.
Make this the "PRODUCT_PL2303" because it's actually id 0x2303
and change the old PRODUCT_PL2303 to PRODUCT_RSAQ.
2001-05-22 00:18:03 +00:00
jhawk
ecb3a30463 add $NetBSD$ 2001-05-21 20:47:13 +00:00
lukem
c15945130c delint: remove unnecessary assignment to same objection (hidden in #define) 2001-05-16 04:50:11 +00:00
lukem
889762fbcf delint: need ; between case label and } 2001-05-15 15:25:04 +00:00
bouyer
bc980d7eba Use SCSI/ATAPI common definition for MODE_{SELECT,SENSE}{,_BIG}. Define
functions to send theses commands in scsipi_base.c and use them instead
of ad-hoc commands setups.
2001-05-14 20:35:27 +00:00
christos
6f62797262 Don't leak memory in case of a realloc failure.
Reported by: grendel@heorot.stanford.edu (Ted U)
2001-05-12 19:18:57 +00:00
bouyer
90b27e80b9 Redo attachement of scsi/atapibus, so that atapibus at umass works again 2001-05-02 11:24:01 +00:00
scw
2963ff5c58 Add l_poll' to struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
lukem
796f5b43a7 delint 2001-05-01 16:40:03 +00:00
augustss
e67bc465a2 Make it compile with DEBUG after SCSI changes. 2001-04-28 14:48:39 +00:00
enami
360780f37e s/\<PROTO_ATAPI/C&/ 2001-04-26 03:59:32 +00:00
bouyer
937a7a3ed9 Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
augustss
af2e19db8f Remove stuff I didn't mean to commit yet. 2001-04-19 00:50:22 +00:00
augustss
72a04bd497 Add HP 3400. 2001-04-19 00:47:49 +00:00
augustss
fc1271af53 Regen. 2001-04-19 00:47:30 +00:00
augustss
3d2488184c Add a Lexar CF reader. (From FreeBSD) 2001-04-19 00:47:12 +00:00
augustss
6497b0a623 Regen. 2001-04-17 08:38:23 +00:00
augustss
7dfc3d8076 Add a Xirlink camera. From PR 11570. 2001-04-17 08:38:01 +00:00
augustss
264c404593 Clean up formatting a little.
Split protocol variable into wire and command protocols.
2001-04-17 00:50:13 +00:00
augustss
f14db62d03 Add a DIAGNOSTIC. 2001-04-17 00:05:33 +00:00
augustss
14dceb11ef Regen. 2001-04-16 10:42:39 +00:00
augustss
6f4ae4bff8 Add lots of storage devices. 2001-04-16 10:42:19 +00:00
augustss
bafbeaf802 Use the bi-directional protocol if the printer supports it.
This is the way that e.g. HP recommends (but then some of their printers
have a bug that makes the input pipe useless anyway).
Also try reset both the 1.0 and 1.1 ways.
2001-04-16 00:18:06 +00:00
augustss
b1b0b4bc9a Regen. 2001-04-15 22:33:37 +00:00
augustss
9c6b6d7b02 Add more HP devices. 2001-04-15 22:33:23 +00:00
augustss
b86cb140c5 Use a better symbolic name. 2001-04-15 10:26:36 +00:00
augustss
595f18daf9 Add quirk for printers that cannot handle bidir mode (not used yet). 2001-04-15 09:38:01 +00:00
augustss
d828968798 Regen. 2001-04-15 09:28:31 +00:00
augustss
3865f3dfc7 Add a bunch of HP printers. 2001-04-15 09:28:12 +00:00
thorpej
bf2dcec4f5 Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
augustss
b5c707b2b6 Make it link with debug flag. 2001-04-13 12:51:43 +00:00
augustss
939159f6d0 Make it compile with debug. 2001-04-13 12:42:40 +00:00
augustss
bcdfccea3c Split the umass driver into the part that handles the X-over-USB protocol
(umass.c) and the part that handles scsibus/atapibus (umassbus.c).
This way the must port specific stuff can be removed from umass.c.
2001-04-13 12:24:10 +00:00
augustss
38c02444d9 Finally get rid of the UGLY and EVIL hack for avoiding tsleep(). 2001-04-13 11:19:58 +00:00
augustss
cbcea5e84c Do mii frobbing in process context.
Now we can finally get rid of the evil USBD_NO_TSLEEP hack in the aue driver.
2001-04-13 11:17:11 +00:00
augustss
ed7afd2ad6 Regen. 2001-04-12 23:56:13 +00:00
augustss
23b1e2c46e Some new device (from FreeBSD). 2001-04-12 23:55:58 +00:00
augustss
9071f4edbb Make sure all tasks are remove on detach. 2001-04-12 23:54:56 +00:00
thorpej
5274818efc Switch to USB_USE_SOFTINTR. The callout hack does indeed work
fine for systems without generic soft interrupts, even if it is
a little sub-optimal.  Consider it a penalty for ports not
implementing a kernel API.

Addresses kern/11957.  The PR has been open for 4 months, and
I have work blocked on the continued existence of splimp() in
the networking code.
2001-04-12 01:39:04 +00:00
thorpej
f305e19aeb Only if __HAVE_GENERIC_SOFT_INTERRUPTS is then splusb == splsoftnet
(because we register the interrupt with IPL_SOFTNET).  However, if
we're using a callout, then splusb == splsoftclock (because the
callouts happen from the softclock interrupt).

Note that splsoftnet blocks softclock interrupts, but this is
meant to better describe what's going on.
2001-04-12 01:18:24 +00:00
jdolecek
745ab257dc Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
augustss
76c2f6d190 Regen. 2001-04-11 08:44:06 +00:00
augustss
c2b7bb4ddb Add device id from PR 12611. 2001-04-11 08:43:47 +00:00
augustss
82fe39b9cb Add a Peracom adapter. 2001-04-08 02:10:57 +00:00
tshiozak
042dae07d7 support "running status" handling. midiplay via umidi is working now. 2001-04-07 22:01:34 +00:00