Commit Graph

6755 Commits

Author SHA1 Message Date
mjacob
04b750733c slight change for platform independence 2000-01-21 21:19:57 +00:00
mjacob
7faf9d32ea cleanup SAF-TE attachment code 2000-01-21 21:10:41 +00:00
tsutsui
a914ad6061 - use the raw partition for ioctl; `control device' is gone.
- remove `sc_flags' member from md_softc
 - add check code whether the md device is configured in mdread/mdwrite
2000-01-21 12:14:53 +00:00
thorpej
0835b779d1 Simplify sbdsp_pause(). 2000-01-20 19:27:03 +00:00
mjacob
56196ffa4e Nobody said no to adding a pointer to original scsi inquiry data
to the scsibus attach args. Make sure it's nulled for ATAPI. Also,
for scsiconf.c, modify SENA's quirk entry.
2000-01-20 17:10:18 +00:00
mjacob
3bcc285367 add SES driver 2000-01-20 17:07:41 +00:00
mjacob
a8f0034523 add SES device 2000-01-20 16:07:43 +00:00
enami
b7868a436d Don't overwrite cfe->flags. 2000-01-20 08:47:59 +00:00
augustss
55c5d10627 Fix typos.
Never, never, never commit without compiling first.
2000-01-19 01:16:38 +00:00
augustss
fe18229923 Obey the interrupt interval here also. 2000-01-19 01:04:26 +00:00
augustss
a97cf3f9ce Fix a buglet in framelist locking. 2000-01-19 01:02:11 +00:00
abs
3a63eeee63 newline terminate ss: atatch message - from Roger Brooks 2000-01-19 01:00:07 +00:00
augustss
8d1b47c24d Poll the interrupt pipe every 100 ms instead of every 1 ms. The interrupt
pipe is only used to collect statistics so it seems rather stupid to bog
down the processor by doing this every ms.
2000-01-19 00:25:23 +00:00
augustss
c3716a6bb9 Add an argument to usbd_open_pipe_intr() to specify the polling interval
for an interrupt pipe in case we don't what what the descriptor suggests.
2000-01-19 00:23:58 +00:00
augustss
331cdec4d2 Add another item. 2000-01-19 00:20:55 +00:00
mycroft
01c66d1c23 Mute the DAC -- not the master volume -- on close, so that CD passthrough is
unaffected.
2000-01-18 22:11:05 +00:00
augustss
21863071b1 Move the zeroing of the xfer to the individual methods. 2000-01-18 20:23:42 +00:00
augustss
f14036861f Turn xfer allocation into a method in the HC driver. The reason is that
an HC driver may want to subclass the xfer to have additional private fields.
2000-01-18 20:11:00 +00:00
thorpej
cf3cdae016 iodone() -> biodone() 2000-01-18 19:53:42 +00:00
deberg
4cf19b07ea add the NeXT mouse type 2000-01-18 19:52:50 +00:00
augustss
4357bf2625 Pretend we can detach. Then we can at least the detach the device
if the attach fails in the middle.
2000-01-18 19:46:55 +00:00
augustss
aff651d2c6 Sync with reality. 2000-01-18 19:45:58 +00:00
augustss
f21b1ede53 Add a little more debug printing. 2000-01-18 18:49:35 +00:00
jlam
24ea998b2a Regen. 2000-01-18 17:20:32 +00:00
jlam
069f019108 Add Aironet Wireless Communications' vendor and product codes. 2000-01-18 17:19:33 +00:00
ad
e716b4ba71 Fix register offset problem. This should make EISA boards work correctly,
and is also needed for the ISA frontend (some time this week).
2000-01-18 16:50:38 +00:00
bouyer
0016706a70 Clean up revision stuff for the sis. Suggested by Chris Cappuccio. 2000-01-18 13:58:07 +00:00
bouyer
a569e4a38f Correct URLs. 2000-01-18 13:30:32 +00:00
cjs
762741c71d Fix the size of the playback buffer. Patch from Dave Sainty <dave@dtsp.co.nz>. 2000-01-18 04:48:47 +00:00
mycroft
9efabde18b Rearrange ex_intr() to use C_INTR_LATCH the same way the ep driver does,
to prevent race conditions.
2000-01-18 03:35:40 +00:00
jtk
5253149d51 add mii attribute to xe. (Needed to make PHY attachment work.) 2000-01-18 03:11:11 +00:00
bouyer
e51ae5d23a Use SCSIPIRETRIES instead of hard-coded value '2' for number of retries in
common routines. Define SCSIPIRETRIES as 4, so that the command will finally
succeed after several consecutive downgrades from UDMA2 to PIO4.
2000-01-17 17:59:48 +00:00
augustss
5fe2bec33e Add Bill Paul's FreeBSD driver for the CATC USB-EL1201A chip.
XXX The driver is untested since I don't have any hardware with this chip.
2000-01-17 17:12:20 +00:00
hubertf
bd2e491091 make confusion of ISO 639 and ISO 3166 less likely 2000-01-17 15:51:59 +00:00
augustss
57a4fc9141 Regen. 2000-01-17 14:56:23 +00:00
augustss
3285aaa9dc Add a bunch of devices I found at a Linux site. 2000-01-17 14:56:01 +00:00
augustss
28c8d7c7bb Remove some unnecessary cleanup. 2000-01-17 13:25:22 +00:00
augustss
3205164ec5 Add missing USBD_NO_COPY flag. 2000-01-17 13:23:05 +00:00
augustss
3e2f6f3a41 Regen. 2000-01-17 12:57:54 +00:00
augustss
5ebe8e5553 Add two CATC Ethernet adapters. 2000-01-17 12:57:27 +00:00
joda
2367ad5f3d add shutdown hook 2000-01-17 12:57:26 +00:00
abs
0f75dd5dc4 allow ioctl() on all scanner device nodes - now SANE can work with ss* driver 2000-01-17 11:25:31 +00:00
itojun
e9100143aa in promisc mode, don't inject outgoing packet to bpf twice.
this is because the card gets the outgoing packet from itself in promisc mode
(not really IFF_SIMPLEX).
2000-01-17 07:06:57 +00:00
augustss
60e70258d2 Compute packet length correctly (from FreeBSD). 2000-01-17 02:20:43 +00:00
augustss
ab81119895 Adjust for ADS name change. 2000-01-17 01:43:31 +00:00
augustss
f18750a9df Regen. 2000-01-17 01:43:07 +00:00
augustss
4a3938b0d6 Give the ADS Ethernet adapter a better name. 2000-01-17 01:42:41 +00:00
augustss
2ea7029408 Add Bill Paul's FreeBSD driver for the Kawasaki LSI KL5KUSB101B USB Ethernet
chip.
2000-01-17 01:38:43 +00:00
augustss
ed1996fc7d Be a little more talkative on with UHCIDEBUG on errors. 2000-01-17 01:01:07 +00:00
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
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
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
itojun
68f1c29b5a typo 2000-01-16 18:34:42 +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
augustss
c48388545c Check for the right vendor/product before fiddling with the Broadcom PHY. 2000-01-16 14:24:33 +00:00
ad
d2d4da8b08 Be consistant when printing haHHBA status. 2000-01-16 14:08:42 +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
augustss
9b9e6e6d2c GC an unused typedef. 2000-01-16 11:19:05 +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
matt
a9e57ac54d Fixes for 21143 and MII in full-duplex mode. 2000-01-15 18:39:31 +00:00
ad
c02df4a16e Typo. Don't worry, nothing that will cause system instability or data
corruption.
2000-01-15 18:13:22 +00:00
ad
d2d9ade964 Validate EATA signature in returned EATA configuration data before anything
else. More proper than important.
2000-01-15 18:10:32 +00:00
aymeric
494dc92eb1 allow french keyboard users to swap control and caps lock keys 2000-01-15 17:14:22 +00:00
oster
138d8fef04 Fix typo + cleanup a bit. 2000-01-15 01:57:57 +00:00
cgd
d447117750 Some additional sanity checks to keep this code from bursting into
flame if presented with bad CIS data (e.g. because of a memory space
conflict):
* more sanity checking on LONGLINK_MFC CIS tuples (exact length check, sanity
  check on size vs. size of array we allocated for them), to avoid various
  missteps which could cause this code to complete trash the kernel stack.
* clear the entire contents of the state structure before processing, so
  things like uninitted pointers will actually have a known value!
* be more careful with CISTPL_CFTABLE_ENTRY: check to see that the current
  state's default_entry isn't NULL before dereferencing it.
2000-01-14 23:09:53 +00:00
augustss
a30f6c8ad9 Apply patches from Tatoku Ogaito (the author of the code). 2000-01-14 14:39:13 +00:00
tsutsui
7fcb8a3a8c minor cosmetic 2000-01-14 13:20:17 +00:00
mjacob
035b04d47a UltraMode is okay for SBus cards with chiptypes of 1020A. 2000-01-14 08:46:37 +00:00
mjacob
0e0104d0e9 There is no readily available tool to set NVRAM on isp's on sparc,
so ignore it.
2000-01-14 08:43:17 +00:00
oster
ef035f5a7b Make more 80-column friendly. No functionality changes. 2000-01-14 04:03:52 +00:00
mjacob
4cb8fbf10d Print out the contents of an otherwise unreported undecodable
sense data buffer. This helps catch adapter breakage mostly.
2000-01-14 02:40:45 +00:00
oster
11e019370e "fix" a serious problem with RF_AccTraceEntry_t tracerec stuff.
XXX the "fix" is incorrect, but that makes it consistent with
some of the other code here.  A this point you should *not* be
thinking about using this code. (At all.) (And I mean it.)
2000-01-14 01:00:26 +00:00
oster
ee867c7fdf Add some debugging printfs. 2000-01-14 00:57:57 +00:00
oster
ec84f30ddd If we can't malloc a RF_ShutdownList then we should return ENOMEM right away.
Waiting for more kernel memory to come along can cause more problems than
we're willing to deal with right now.
2000-01-13 23:41:18 +00:00
mycroft
1ee1632a02 Remove EX_CONF_MII for the 3c980. At least 2 people need this for the card
to work.
2000-01-13 23:26:35 +00:00
augustss
a0a41d46da Add another item. 2000-01-13 20:19:43 +00:00
augustss
e4f6c4c51b Add umass.c. 2000-01-13 20:19:14 +00:00
augustss
380035a59d Regen. 2000-01-13 20:16:49 +00:00
augustss
81ae0fb432 Add a Broadcom PHy used in the D-Link USB100 adapter.
There's no special driver for this PHY (yet).
2000-01-13 20:16:08 +00:00
augustss
63d3068c61 Regen. 2000-01-13 19:58:40 +00:00
augustss
3e973f6af5 Sync with FreeBSD. 2000-01-13 19:58:14 +00:00
joda
de798768b3 (cardbus_attach_card): zero out ca 2000-01-13 10:27:31 +00:00
joda
78d457dc77 (stp4020_chip_mem_map): explicitly don't handle 8-bit memory 2000-01-13 10:03:25 +00:00
joda
31188c7a4b (tcic_chip_do_mem_map): handle 8-bit memory 2000-01-13 09:38:17 +00:00
joda
87414deb1e remove stale comment 2000-01-13 09:05:41 +00:00
joda
8430609055 (pccbb_pcmcia_do_mem_map): handle 8-bit memory 2000-01-13 09:01:17 +00:00
joda
4bc55bd307 (pcic_chip_do_mem_map): handle 8-bit memory 2000-01-13 09:00:30 +00:00
joda
c61a134a00 add flags for memory width 2000-01-13 08:58:51 +00:00
joda
e8937eb4e5 make this slightly more inline with other code; and while at it, fix
some oddities in pccbb_winset
2000-01-13 08:54:20 +00:00
joda
69034619d0 add %b strings for sockevent and sockstate registers 2000-01-13 08:46:46 +00:00
nisimura
1775fae985 Add tweaks for TEAC compact cassette tape drive. 2000-01-13 00:18:27 +00:00
mjacob
34721cbe92 Check in the implementation of the ST_MOUNT_DELAY option.
This is an attempt to allow people to change the default configuration
to try harder at 'mounting' a tape. This allows you to specify, in
seconds, the amount of time a non-control unit open will retry
(once per second) the scsipi_test_unit_ready when it tries to mount
the tape. It also turns off the over-verbose error reporting at
this time unless SCSIDEBUG is set.

The reason this is not enabled as a default is that it's a large change
of behaviour. I find it useful to 'try harder' at mounting a tape in
the tape driver, particularly when loaded via a media changer device
rather than specifying the delays in the backup program.
2000-01-12 14:46:43 +00:00
ad
192e087585 Make PCDISPLAY_SOFTCURSOR work as it should. 2000-01-12 14:42:21 +00:00
haya
27214a2c93 Add an entry for Toshiba ToPIC100 CardBus-PCI bridge.
Maintainance for 3Com multi-function, 16-bit pcmcia card.
2000-01-12 09:23:26 +00:00
haya
d978274ade Regen. 2000-01-12 09:11:42 +00:00
haya
6a0979928c Add an entry for Toshiba ToPIC100 CardBus-PCI bridge. 2000-01-12 09:08:36 +00:00
matt
3a0141108b Regen. 2000-01-11 17:21:02 +00:00
matt
d8c0efec1b Add CompuModules DVB receiver and transmitter boards. 2000-01-11 17:20:24 +00:00
pk
33f192535d <machine/cpu.h> is not needed here. 2000-01-11 15:32:37 +00:00
pk
c6b6f3883a Remove old-style boot device recognition. 2000-01-11 12:59:43 +00:00
simonb
a5f53c3682 Don't use magic number for lance buffer address. 2000-01-10 13:32:02 +00:00
augustss
d005bd8581 Regen. 2000-01-10 02:48:14 +00:00
augustss
261d171a62 Add the Linksys USB100TX Ethernet adapter.
(We will have a driver for it soon!)
2000-01-10 02:47:03 +00:00
mjacob
2a7d01e353 The trigger for not downloading f/w is now a
NULL f/w pointer, not a nonzero f/w length.
2000-01-09 18:55:11 +00:00
mjacob
250a1f41c2 The sense of being able to sleep for DMA resources was reversed. Oops. 2000-01-09 18:44:40 +00:00
chopps
e8a27771a7 remove unused llc from receive logic, protect use of llc header in tranmist
logic, fixes pr#9151
2000-01-09 17:32:58 +00:00
joda
5e787daca3 xe@pcmcia 2000-01-09 17:23:05 +00:00
joda
a72606bdaf now compiles on NetBSD 2000-01-09 17:21:38 +00:00
joda
a6afd742f7 add NetBSD tag 2000-01-09 17:20:36 +00:00
joda
35957910a6 add Xircom 16-bit PCMCIA driver (from OpenBSD) 2000-01-09 17:10:43 +00:00
joda
7d1d793acc regen 2000-01-09 16:01:22 +00:00
joda
a3bf37e388 add vendor-ids for Intel, Xircom, and Compaq (2) -- from Free/OpenBSD 2000-01-09 16:00:29 +00:00
chopps
f3b56e33df rename hl_control to hl_ffb (friendly fudge byte) as per cisco insider
the belief is that this was used to align OSI clnp header fields better
2000-01-09 14:47:43 +00:00
soren
18bb5846c7 Regen. 2000-01-09 09:20:01 +00:00
soren
2c073c654d Add MPC105. 2000-01-09 09:19:26 +00:00
oster
2c4bbb1b26 At (closer to) 80-columns, this may actually be readable code. 2000-01-09 04:35:13 +00:00
oster
f2a8aaee02 Garbage collect unused code. 2000-01-09 03:44:33 +00:00
oster
7ce0db89f9 Nuke more debugging stuff and cleanup a tad. 2000-01-09 03:39:13 +00:00
oster
b0caf96f87 It's got to help to check the *right* value if you care what
RF_Malloc() is returning.
2000-01-09 03:28:11 +00:00
oster
fbd3b6b396 Another one bites the dust. 2000-01-09 03:17:12 +00:00
oster
87ec1ad21b Nuke dependency on rf_diskthreads.h 2000-01-09 03:15:59 +00:00
oster
4a54cff7d7 Nuke dependencies on rf_cpuutils.h. 2000-01-09 03:14:32 +00:00
oster
23c4c71c8f By popular demand (Hi Thor!) make the cylinder size in a default
disklabel be the size of the (data part) of the stripe.
2000-01-09 02:56:13 +00:00
oster
754613774a rf_cpuutil.c isn't useful for the kernel driver.
*poof* *poof*
2000-01-09 02:23:21 +00:00
oster
c8723703d2 Not sure why this file was still around since it's really not required.
*poof*
2000-01-09 02:05:12 +00:00
oster
6e92bd4525 Nuke unused debugging stuff. Clean up a whole bunch of comments. 2000-01-09 01:45:58 +00:00
oster
a5dcdf8572 Nuke a couple of obsolete comments. 2000-01-09 01:34:29 +00:00
oster
c8730b35e6 - move a bunch of function prototypes to rf_kintf.h
- general cleanup of a number of prototypes that were scattered around.
2000-01-09 01:29:27 +00:00
oster
08817bcd50 Nuke #if 0'ed code. 2000-01-09 01:12:05 +00:00