Commit Graph

59336 Commits

Author SHA1 Message Date
bouyer
638e1a6958 Improve the downgrade logic:
- If UDMA 2 is failing try UDMA 1 first, it helps in some cases
- downgrade if we get an error in the first 4000 xfers, or if we get
  4 errors in 4000 xfers if the first 4000 went without troubles.

While I'm there commit a local change I have since some time to get my CD
probed: issue a "blanck" IDENTIFY before the one used to detect slave ghosts,
with my drive the first IDENTIFY following a controller reset fails with an
aborted command ...
2000-01-17 00:01:00 +00:00
uch
0a5ac26680 enable TX3922 write-back cache.
flip Telios fg/bg color.
2000-01-16 23:30:13 +00:00
augustss
2ec318c2e5 Update some comments. 2000-01-16 23:18:56 +00:00
augustss
cc381bcb7c Add usbd_reload_device_desc() to get the device descriptor again from a device.
Useful if e.g. downloading firmware updates the revision number.
2000-01-16 23:11:43 +00:00
uch
f96d767523 add platform dependent TX39 UART module hook.
remove delay from tc5165buf interrupt handler.
backlight config_hook.
2000-01-16 21:47:00 +00:00
uch
e8460d1fcb disable noisy boot message. 2000-01-16 21:39:36 +00:00
bouyer
9156026f0f From chris@openbsd.org:
"Don't enable UDMA modes for revisions of SiS 5513 < 0xd0
The only revisions I know which don't actually support UDMA are 0x09 and below..
But the only revision I know which does support UDMA is 0xd0 (and presumably
above that)"
2000-01-16 21:31:28 +00:00
is
e80be24250 Yet another cpu.h. 2000-01-16 21:19:44 +00:00
uch
dac63389a8 call config_hook_init before autoconfiguration.
initalize hr_mode.
2000-01-16 20:01:41 +00:00
itojun
68f1c29b5a typo 2000-01-16 18:34:42 +00:00
itojun
08e76e0086 add missing ipcomp cases. 2000-01-16 18:06:03 +00:00
itojun
358b6d44ac fix interop issue in ip compression. for inbound, we need to use
default window size, in case the peer uses large window size
2000-01-16 17:56:46 +00:00
augustss
dbed54b091 Get rid of some debug gunk. 2000-01-16 16:07:42 +00:00
augustss
1f4b0be350 Turn on interface OACTIVE in case of a transmit error. 2000-01-16 15:52:03 +00:00
augustss
48641e166e Put back line I lost in FreeBSD code when porting. 2000-01-16 15:43:24 +00:00
augustss
36987ec1cc Enable AUE_DEBUG the usual way. 2000-01-16 15:36:28 +00:00
augustss
6f571d15c8 Some stylistic changes. 2000-01-16 15:35:06 +00:00
augustss
f0cebaeb64 Avoid even more #include for FreeBSD. 2000-01-16 15:12:41 +00:00
augustss
ed1c6349a1 Avoid some #include for FreeBSD. 2000-01-16 15:10:27 +00:00
assar
70aab8de7d (sysctl_doeproc): make sure we release the proclist_lock even if
copyout fails
2000-01-16 15:07:48 +00:00
augustss
c48388545c Check for the right vendor/product before fiddling with the Broadcom PHY. 2000-01-16 14:24:33 +00:00
minoura
2a71e2c15e Minor cleanups & corrections. 2000-01-16 14:20:54 +00:00
ad
d2d4da8b08 Be consistant when printing haHHBA status. 2000-01-16 14:08:42 +00:00
augustss
1ef32571c0 Add some USB Ethernet adapters. 2000-01-16 13:59:38 +00:00
augustss
7ae4b6a312 Fix typo. 2000-01-16 13:54:39 +00:00
augustss
b4e8010107 Add initial version of a driver for the ADMtek AN986 Pegasus USB to
Ethernet chip.
Written by Bill Paul, <wpaul@ee.columbia.edu>, for FreeBSD.
Massaged by Lennart Augustsson.
XXX Needs a thread to avoid a the gruesome USBD_NO_TSLEEP hack.
2000-01-16 13:45:56 +00:00
augustss
67ad556c60 Get timeout right in the gruesome hack. 2000-01-16 13:34:51 +00:00
augustss
eb7268f16c XXX Add a temporary, gruesome hack. It allows transfers to
XXX be done using delay() instead of tsleep().
XXX This enables transfers to be made from an interrupt context, which
XXX is needed until some more threads are added to the kernel.
XXX Using this hack (which is rare) causes the kernel to busy-wait
XXX for up to 1 ms at splusb().
2000-01-16 13:22:18 +00:00
augustss
2b8a0e9b1c Remove some debug code that was commited by mistake. 2000-01-16 13:14:43 +00:00
augustss
537c04e5ee Add a flag, USBD_FORCE_SHORT_XFER, to transfers. Using this flag will
force the last packet of a transfer to be smaller than the maximum
packet size.  The only time this matters is if the transfer size is
a multiple of the maximum packet size, in which case a 0 length packet
is sent last.
Some weird devices require this behaviour to determine the end of
a transfer.
2000-01-16 13:12:05 +00:00
augustss
d837d7a740 Avoid freeing already free data when attach fails. 2000-01-16 13:05:48 +00:00
ragge
fa560ec3ee Bogus context pointer sent to sigreturn() may crash the machine.
Bug found by der Mouse.
2000-01-16 12:43:52 +00:00
abs
4f51e5f1ee update some supported HARDWARE lists 2000-01-16 12:22:56 +00:00
ad
69d9fef69c - First appeared in NetBSD 1.4.2 (this is tentative).
- Note that ECC formatted disks/arrays do not work just yet.
2000-01-16 11:19:55 +00:00
augustss
9b9e6e6d2c GC an unused typedef. 2000-01-16 11:19:05 +00:00
uch
1e74db1306 RCS Id. 2000-01-16 11:14:49 +00:00
augustss
49abd4ba94 Add references to aue, cue, and kue. 2000-01-16 11:07:40 +00:00
augustss
5e2dc3d256 Add aue, cue, and kue man pages. 2000-01-16 10:46:56 +00:00
augustss
ad0339b634 Add man pages for Bill Paul's USB-Ethernet adapter drivers.
The actual drivers should appear within a few days.
2000-01-16 10:43:36 +00:00
augustss
f17d5fe839 Change compat defines a little for power hooks. 2000-01-16 10:38:58 +00:00
augustss
9e5ce08183 Add framework for doing isoc transfers. The actual scheduling code
is still missing.
2000-01-16 10:35:24 +00:00
augustss
1a080201cc Add shutdown hooks to ensure that the host controller is halted when
a reboot occurs.
2000-01-16 10:27:51 +00:00
augustss
98347a7628 Add comments. 2000-01-16 09:43:43 +00:00
augustss
5a91238d5f Turn on more debugguing flags with USB_DEBUG. 2000-01-16 09:42:36 +00:00
augustss
4539a83cdc Add a DPRINTF on keyboard errors. 2000-01-16 09:41:22 +00:00
augustss
5522f8f3ba Add some files for ethernet adapters (the files are not there yet). 2000-01-16 09:40:07 +00:00
augustss
c664f35fc5 Let usbd_set_polling() work on a usbd_device_handle instead of
a usbd_interface_handle.
2000-01-16 09:37:18 +00:00
augustss
9647c5b871 Another compat define. 2000-01-16 09:34:18 +00:00
augustss
d50156f1bd Start of implementation of UpDown processing unit control. 2000-01-16 09:32:56 +00:00
perseant
bfde45e89f Make sure that vnodes are locked when inactivated (e.g. by the cleaner) 2000-01-16 09:15:51 +00:00