Commit Graph

46260 Commits

Author SHA1 Message Date
augustss af27a191a5 Add ugen device. 1998-12-09 01:47:15 +00:00
augustss d31303074e Make ugen devices. None are created by default. 1998-12-09 01:11:26 +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 41f2f38a1b Add a poll entry to the /dev/usbN device. This should stop usbd from
running amok.  (The poll was lost when the declaration moved to sys/conf.h.)
1998-12-09 00:59:36 +00:00
augustss 1b498d2b39 Slight code rearrangement. 1998-12-09 00:57:19 +00:00
ross f7befd86e1 Add NetBSD id keyword comment. 1998-12-09 00:22:03 +00:00
augustss f8b9a417f0 Improvement to the ugen driver.
Better error checking.
Some code rearrengment.
1998-12-09 00:18:10 +00:00
he 49a9ba987d Add nsupdate, objcopy, include/sys/ataio.h and a few corresponding man pages. 1998-12-08 22:45:07 +00:00
minoura 16f23eb61c Updated the staff list. 1998-12-08 22:23:43 +00:00
ragge 2a5432c589 Use shell arithmetic instead of awk. (avoid awk in miniroot). 1998-12-08 21:43:06 +00:00
erh f7373c1eba Add mmap header. 1998-12-08 21:02:18 +00:00
erh cdc6431c25 At least make this compile. Add linux compat version of auxillary data eventually to be used to make the emulation work correctly. 1998-12-08 21:00:11 +00:00
augustss 8398f3a4db Add ugen, a generic USB driver. 1998-12-08 15:52:31 +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
augustss 45f33dbecc New USB locators added. 1998-12-08 14:21:48 +00:00
augustss 7e86768677 Update the design of the generic USB driver. 1998-12-08 14:18:27 +00:00
augustss 106f74598b Minor touchup and add sv man page. 1998-12-08 14:15:27 +00:00
drochner 20b876f326 avoid malloc(0) 1998-12-08 14:08:50 +00:00
drochner 7cd4c14e82 regoff_t is used like size_t within the code, it should be defined
so instead of off_t. This makes some casts unnecessary.
We can't change the definition now due to binary compatibility, so
prepare for the next libc major version.
1998-12-08 14:00:24 +00:00
drochner 64a8986fc2 Change some function arguments to appropriate types. This makes lint
happy without casts.
1998-12-08 13:52:48 +00:00
drochner 25804e11c9 remove another unneeded cast 1998-12-08 13:49:46 +00:00
drochner 285638718a correct a comment, minor formatting 1998-12-08 13:48:06 +00:00
drochner c300f8f462 Back out part of the last change. This broke on the alpha (or wherever
sizeof(u_int32_t) != sizeof(*)), at least in cases with re->re_g->nstates
between 32 and 64.
Primary reason for the breakage was that the "states1" definition didn't
work as expected. (It didn't work before either, but this was not noticed
due to sizeof(long)==sizeof(*).)
The alpha can handle larger problems with the "small" state machine model
if a "long" is used as state variable, so it is better to keep the old
definition here. (u_int32_t is left for the "operator" variables.)
Use "int" as "sopno" - this is used as index into the states field, there
is no point in using a fized-size type.
1998-12-08 13:41:42 +00:00
bouyer 997074f17c Add a missing 'return' in an error path; noticed by Matthias Drochner. 1998-12-08 13:29:31 +00:00
dbj 54a0e65b02 initialized unused dma registers to 0xdeadbeef instead of 0 to aid debugging. 1998-12-08 09:35:07 +00:00
cgd d0d551757c Add my self to releng list 1998-12-08 08:48:34 +00:00
cgd d74e600ce9 add local directories installed by XF86 3.3.3. (From fvdl) 1998-12-08 07:56:16 +00:00
cgd ac5c673d62 add files new in xf86 3.3.3 build (from fvdl) 1998-12-08 07:45:47 +00:00
kenh c3212c811c Add atactl. Pointed out by Bill Sommerfeld. 1998-12-08 04:32:24 +00:00
cjs ec7880433c Add a couple of new fonts for XFree86 1.3.3 1998-12-08 04:29:07 +00:00
cjs 829e1c4944 Update for XFree86 3.3.3. 1998-12-08 03:44:26 +00:00
cjs 15fc99d096 It appears traditional to include directory names, as well as the names
of files in those directories. The last revision did not include a couple
directory names; this fixes that.
1998-12-08 03:05:27 +00:00
thorpej 10d50739c7 Actually, restructure scsipi_wait_drain() slightly. 1998-12-08 00:26:22 +00:00
thorpej 8ebf1e8824 Remove xs_free_list; it no longer exists. 1998-12-08 00:20:16 +00:00
thorpej 624619a881 When closing, wait for pending xfers to drain before deleting the reference
to the adapter.
1998-12-08 00:19:27 +00:00
thorpej dcc5f32c2b When closing, wait for pending xfers to drain before unlocking the door,
and wait again before deleting the reference to the adapter.
1998-12-08 00:18:46 +00:00
thorpej 1ddd2ffec0 - When allocating a scsipi_xfer, add it to the specified device's
pending_xfers queue.
- When freeing a scsipi_xfer, remove it from the device's pending_xfers
  queue.  If the queue is empty, and SDEV_WAITDRAIN is set, wakeup
  those waiting for the queue to drain.
- Implement scsipi_wait_drain(), which waits for a device's pending_xfers
  queue to drain.
1998-12-08 00:17:21 +00:00
thorpej 98194169ea When allocating a device's scsipi_link, initialize the pending_xfers
queue.
1998-12-08 00:14:41 +00:00
thorpej 126dc6bfcc - Remove the "free_list" member from scsipi_xfer. Add "adapter_q" and
"device_q" TAILQ entries.  The former is for use by the adapter driver,
  as it sees fit.  The latter is for the scsipi middle layer to track
  pending xfers per device.
- Add a pending_xfers queue to scsipi_link, to track pending xfers per
  device.
- Grow scsipi_link's flags to int, and add SDEV_WAITDRAIN, to indicate that
  we're waiting for the pending_xfers queue to empty.
1998-12-08 00:13:58 +00:00
sommerfe 034bc394ac Add wscons to `all' since its absence annoyed perry. 1998-12-07 18:46:27 +00:00
tsubai ea6bba6b90 Fix a typo. 1998-12-07 17:17:14 +00:00
leo 15961a8384 Add creation of le-nodes to MAKEDEV script (from 'maximum entropy'). Fixes
pr-6539.
1998-12-07 13:39:10 +00:00
augustss c733635d12 Mention the USB include files. 1998-12-07 13:11:47 +00:00