Commit Graph

54967 Commits

Author SHA1 Message Date
mycroft
f784c98496 Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
1999-08-29 19:41:53 +00:00
thorpej
04cd1cc8ee Make usbd_errstr() always return a useful error message; it's not like
the strings are that big.
1999-08-29 19:41:27 +00:00
mycroft
0ae41d0984 Use the C version of ldexp(). The assembler version was broken in several
ways (ldexp(0.0, 5000) returned +Inf, didn't do normalization/denormalization,
etc.).
1999-08-29 19:08:44 +00:00
mycroft
02a48bde49 Don't ever return -0.0. 1999-08-29 19:04:02 +00:00
thorpej
d1088a5081 One more TODO item; sub-classes other than SCSI. 1999-08-29 18:58:03 +00:00
thorpej
59e86c6637 Correct typo in URL. From Bill Sommerfeld. 1999-08-29 18:57:15 +00:00
thorpej
f88e157ddb Update the match routine to reflect that the driver actually matches
"Mass Storage/SCSI/Bulk".
1999-08-29 18:56:24 +00:00
mycroft
07ccaa3409 HUGE_VAL -> infinity 1999-08-29 18:55:29 +00:00
mycroft
3b800f4a61 Mention more of the special cases. 1999-08-29 18:52:18 +00:00
mycroft
0d708431b7 Minor style change. 1999-08-29 18:40:50 +00:00
mycroft
ea4b733810 Trivial KNF. 1999-08-29 18:39:35 +00:00
mycroft
6850b97bb3 Sync with SPARC version. 1999-08-29 18:35:51 +00:00
mycroft
ed01c49a3f Use the C version. The assembler version was just transliterated (and buggy)
anyway.
1999-08-29 18:32:36 +00:00
sommerfeld
5493437dd8 Once the mount structure is definitely doomed, always set the
NFSMNT_DISMNT bit in it so that any waiters can go away cleanly.
(formerly, we did this only in the NQNFS/KERB cases).
1999-08-29 18:32:15 +00:00
mycroft
099dd01a1d Make the C version of frexp() consitent across platforms, and handle the
Inf/NaN case.
1999-08-29 18:30:14 +00:00
mycroft
291053e1e2 Use ieee.h. 1999-08-29 18:23:26 +00:00
mycroft
4ef547e76d Add ieee.h. 1999-08-29 18:21:20 +00:00
bouyer
39ca29c4f8 Note Promise PDC20246 (Ultra/33) and PDC20262 (Ultra/66) support. 1999-08-29 18:17:48 +00:00
bouyer
1fe579ad0d Note support of Promise Ultra/33 and /66 controllers. 1999-08-29 18:14:26 +00:00
thorpej
e01cef341e Update documentation references. 1999-08-29 18:13:26 +00:00
mycroft
c8190acc41 Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h. 1999-08-29 18:11:28 +00:00
mycroft
9071f9ee14 Add ieee.h. 1999-08-29 18:10:33 +00:00
mycroft
17030e8106 Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h. 1999-08-29 18:08:27 +00:00
thorpej
f91881f24a Since we poll around the `done' member of a usbd_request, make it volatile. 1999-08-29 17:57:25 +00:00
mycroft
625f1f9bb9 Don't use .Fl for non-flags. 1999-08-29 17:50:09 +00:00
thorpej
cbd1c08a2c Note a few TODO items. 1999-08-29 17:34:11 +00:00
augustss
ed24699c00 Note addition of umass driver. 1999-08-29 17:26:22 +00:00
bouyer
52068f73ce Add support for the Promise Ultra/33 and /66 pci IDE controller. In addition to
chip-dependant code this required the following changes:
- Instead of attaching the device in a generic way with some chip-dependant
  routines, use a chip-dependant attach routine with some common code
  factored out. The code is marginally bigger, but this allows the CMD64x
  flag hack to go away.
- For chips that report per-channel 'irq triggered', test this before calling
  wdcintr() for the native-pci irq case (compat intr can't be shared),
  as wdcintr() has no good way to know if a irq was for it or not, and
  ends up with irq loss. XXX for chips that don't have this feature irq sharing
  will not work properly !
- add my copyrigth notice (could have been done some time ago I think :)

There are still some issues to be solved with the Promise controller and
ATAPI devices.
Many thanks to Paul Newhouse for shipping me 2 Ultra/33 boards for doing this
work.
1999-08-29 17:20:10 +00:00
bouyer
4819ee1cf1 Add definitions of the DMA mode control registers. They should be used
by pciide, but I have yet to find how to map them.
1999-08-29 17:06:43 +00:00
thorpej
c068ef8152 Add `umass'. 1999-08-29 16:55:48 +00:00
thorpej
246ab7936d One item off this list done! 1999-08-29 16:53:04 +00:00
sommerfeld
873713a5f7 Fix overzealous DIAGNOSTIC check in nfs_disconnect()
(fix pr8249, 8288)
1999-08-29 16:29:16 +00:00
lukem
f2adc5cef3 regen 1999-08-29 10:16:51 +00:00
tsubai
14b3666e9a Change md size to 2MB.
Don't use libhack temporarily.
1999-08-29 08:45:27 +00:00
dbj
45ec8742b1 minor rework of dma driver
now uses the DMACSR_READ bit and no longer keeps _nd_dmadir in softc
unified transfer cleanup code, now in routine next_dma_finish_xfer()
fixed bounds checking on registers after transfer.
removed checking for bus errors since the bit is always set on some nexts
(specifically, on mourning, a 25mhz 68040 mono slab)
fixed a couple of dma bugs involving chaining dma buffers.
1999-08-29 05:56:26 +00:00
dbj
ec9b8358dc made debugging printfs switchable at run time via the "xe_debug" variable. 1999-08-29 05:51:45 +00:00
christos
36dc48ce6e Amazing how this worked for so long. setenv(3) expects environ(7) to be
a malloc'ed pointer and it tries to realloc(3) it if it had to grow it
before. su(1) gave it a pointer from the stack which caused realloc to
core dump.
1999-08-29 04:21:55 +00:00
thorpej
cbb4401dfd Port the FreeBSD `umass' driver to NetBSD. This is still a work-in-progress
since a few things don't yet work properly:
- Sense data isn't reported properly (err, at all).
- It doesn't work with anything other than the Iomega USB Zip drive.
- Hot-unplug doesn't work yet.

...but this is enough to make my shiny new USB Zip drive go.
1999-08-29 00:30:08 +00:00
thorpej
c2ce79c0c9 In _pool_put(), panic if we're put'ing with nout == 0. This will help us
detect a little earlier if we've dup-put'd.  Otherwise, underflow occurs,
and subsequent allocations simply hang or fail (it thinks the hardlimit
has been reached).
1999-08-29 00:26:01 +00:00
thorpej
61f3c9356e If scsipi_make_xs() fails, make sure to flag the buffer as error'd,
if provided, and biodone() it.  Callers of scsipi_command() expect
this to be done.
1999-08-28 22:28:35 +00:00
augustss
036a9c6974 Change some 'struct device' to 'bdevice'. From FreeBSD. 1999-08-28 21:42:35 +00:00
tsubai
5d7288c24d Increase md size to 2MB. 1999-08-28 16:49:49 +00:00
augustss
1aa63c9fab Add some comments. 1999-08-28 10:04:01 +00:00
augustss
103e304a84 Add to the growing list. 1999-08-28 10:03:38 +00:00
augustss
2126f7df24 Change a type name. 1999-08-28 10:01:59 +00:00
augustss
598999e482 Fix from FreeBSD. 1999-08-28 10:01:42 +00:00
augustss
e470b13e28 Regen. 1999-08-28 10:01:19 +00:00
augustss
4b398d8f1b Fixes/updates from FreeBSD. 1999-08-28 10:00:56 +00:00
dbj
a47891200f fixed DMACSR_BITS definition to reflect DMACSR_READ bit renaming 1999-08-28 09:42:44 +00:00
augustss
64c7328230 Regen. 1999-08-28 09:22:58 +00:00