Commit Graph

6642 Commits

Author SHA1 Message Date
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
oster cdb6add0f7 Nuke desc->tid. 2000-01-09 00:00:18 +00:00
oster 37c75452f4 Time's up. This file is no longer needed. "toodles." *punt* 2000-01-08 23:54:26 +00:00
oster 418d4b8471 - more cleanup of rf_get_threadid() and debugging printfs 2000-01-08 23:45:05 +00:00
oster 524894d6f2 Make raidPtr a 'RF_Raid_t *' like it's supposed to be. 2000-01-08 23:02:16 +00:00
oster 04719e3adc - nuke calls to rf_get_threadid() and associated #include
- change a bunch of debugging printfs from
  "[%d] ...", tid   (where tid is the "thread id")
to
  "raid%d: ...", raidPtr->raidid
- other minor rototillage
2000-01-08 22:57:30 +00:00
chopps 15e3ae96fb pass iso pdus to netiso 2000-01-08 20:46:29 +00:00
augustss e81e75d36b Regen. 2000-01-08 07:35:39 +00:00
augustss 903e37734d Add EXP Computer Inc. PCMCIA controller.
From Brad Spencer <brad@anduin.eldar.org> in PR 9140.
2000-01-08 07:34:49 +00:00
oster 23864e9422 Bail if rf_numParityRegions is not > 0. Cleanup a comment. 2000-01-08 05:13:26 +00:00
oster 0d2f49b054 Nuke stale comment. 2000-01-08 03:49:37 +00:00
oster e7fe279817 Minor cleanup. 2000-01-08 03:34:31 +00:00
takemura ba04c55ed3 Absolute pointing device support.
- Wsmouse_input() get new argument 'flag', which indicates whether x/y/z are
   relative or absolute.
 - Wsmouse get new io controls, WSMOUSEIO_SCALIBCOORDS and
   WSMOUSEIO_GCALIBCOORDS.
2000-01-08 02:57:22 +00:00
oster db96c5344b Nuke some (now) incorrect comments. More minor cleanup. 2000-01-08 02:04:06 +00:00