Commit Graph

46247 Commits

Author SHA1 Message Date
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
abs
6381de4c64 Add links to getmntinfo(3) and getfsstat(2) 1998-12-07 05:17:53 +00:00
nisimura
14b18ffcb5 - Remove improper casts mistakenly creeped in the last commit. 1998-12-07 04:21:57 +00:00
fair
a7b28c97e7 This trivial and computationally useless pointer initialization makes
gcc 2.7.2.2 happy on m68k again.
1998-12-07 04:10:13 +00:00
simonb
76b2a4f97c Let make do the NOMAN= variable assignments instead of the shell so us
csh/tcsh weenies can cut and paste "make -n build" lines.
1998-12-07 01:42:34 +00:00
tron
edee8bf61d "README.NV1" was renamed to "README.NVIDIA". 1998-12-07 00:09:43 +00:00
ender
3a8d666d11 Fix a typo noticed by maximum entropy <entropy@zippy.bernstein.com> 1998-12-06 20:15:01 +00:00
jwise
2e6cacfae6 Add an `md5' keyword to mtree, which takes as an argument the MD5 cryptographic
checksum of the file in question, optionally preceeded by `0x'.

This has been tested, and does work, AFAICT.  There is currently no md5 equivalent
of the '-s' flag for use with checksum.
1998-12-06 19:07:53 +00:00
mycroft
33360720ab Add missing braces, so PUTRATE() works correctly as an if clause. 1998-12-06 16:53:44 +00:00
tsubai
fbeabd992c Implement sparse bus space support. 1998-12-06 15:39:12 +00:00
ragge
5ff97947fe Search for NCR controllers, but not on VS4000/60. 1998-12-06 14:33:54 +00:00
ragge
fec054bd9a Simple hack to get at least PIO functionality out of the VS2000/3100 ncr5380.
Fixed by Jens Arvid Nilsson.
1998-12-06 13:55:09 +00:00
jonathan
d5bbe0a7f3 Add egcs dependencies for mips: stl hdrs, libobjc hdrs, shared libs, manpages. 1998-12-06 11:56:49 +00:00
jonathan
7775c04f9c remove libg++ headers. 1998-12-06 10:25:21 +00:00