Commit Graph

42 Commits

Author SHA1 Message Date
augustss ed9486e158 Bring the coding style into the 80s, i.e., get rid of __P and use
ANSI prototypes and declarations.
2000-06-01 14:28:57 +00:00
augustss 26f708a5a3 Handle the Linksys USB100H1 like the other Linksys adapters.
Restructure the code a little.
2000-05-06 20:38:59 +00:00
augustss 13d8353ffc Add Linksys USB100H1, an Ethernet and HomePNA adapter. 2000-05-06 18:28:01 +00:00
augustss 23f3c0074f Sync with FreeBSD: add two more adapters. 2000-04-23 19:03:45 +00:00
augustss a94b555441 Put a ratecheck on error messages from the interrupt pipe. 2000-04-04 20:16:19 +00:00
augustss 0a425e1f3d Generate an error message if starting a transfer fails. 2000-04-02 21:25:41 +00:00
augustss dd7160dcba Afew more OpenBSD portability fixes. 2000-03-30 00:18:17 +00:00
augustss a25e27e1eb Some OpenBSD portability fixes. 2000-03-29 18:24:52 +00:00
augustss fc72e72d7d Change (almost) all static to Static. The symbol `Static' can then be defined
to `' or `static' depending on if you want to debug or not.
2000-03-27 12:33:53 +00:00
augustss 0069eba19b Some cleanup and renaming of the callouts used in USB drivers. 2000-03-24 22:03:28 +00:00
thorpej fc96443d15 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 07:01:25 +00:00
uch 348fff03fb add I/O DATA USB-ET/TX USB ethernet adapter. 2000-03-16 18:27:21 +00:00
augustss b8b53d87db Avoid accessing the device if it is dying. 2000-03-12 21:57:50 +00:00
augustss 45f32a77f5 Clean up code a little and add some more debug messages. 2000-03-08 15:33:24 +00:00
thorpej a6f861574a No longer necessary to futz with ifp->if_baudrate here. 2000-03-06 21:02:00 +00:00
augustss e0cb11e30e Use macros from usb.h instead masking out bit explicitely. 2000-03-06 20:58:18 +00:00
augustss d6c4ac7ff2 Use ratecheck() to limit error messages on disconnect.
Break out some common functionality.
2000-03-02 12:37:50 +00:00
augustss 3218dd992d Protect the use of bpf_mtap so bpf isn't needed.
aue: Limit the number of error messages at disconnect by using ratecheck().
2000-03-01 19:00:51 +00:00
augustss 6fa8665eeb Handle detach that happens before attach has finished. (Reported by mycroft.) 2000-02-17 18:42:21 +00:00
mycroft f7ad1af2b5 Use bpf_mtap() correctly. 2000-02-17 05:41:41 +00:00
augustss a79d73d045 Add Corega FEther adapter. From PR 9394. 2000-02-12 15:02:21 +00:00
augustss de5a3532be Fiddle with some PHY bits on the D-Link adapter as well. From FreeBSD. 2000-02-02 20:06:55 +00:00
thorpej eed75dbc26 Don't dry to diving MIIF_NOISOLATE in the PHY drivers. Instead, pass
flags down from the parent to child vi mii_attach().
2000-02-02 17:09:38 +00:00
augustss aae9ac7e11 Generate usb events on attach and detach.
Handle rnd stuff correctly.
2000-02-02 13:19:44 +00:00
augustss b10d6a6fc0 Support detach. 2000-02-02 11:42:29 +00:00
thorpej 84dc99fdea Bring some order to the chaos which was the MII code function naming
"conventions".
2000-02-02 08:05:26 +00:00
augustss 8cc78f4f7d Small restructuring: break out opening of pipes into its own function. 2000-01-28 00:51:25 +00:00
augustss 9cd4bf4652 Remove the hack that handled truncated transfers. 2000-01-28 00:29:53 +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 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 3205164ec5 Add missing USBD_NO_COPY flag. 2000-01-17 13:23:05 +00:00
augustss 60e70258d2 Compute packet length correctly (from FreeBSD). 2000-01-17 02:20:43 +00:00
augustss 2ec318c2e5 Update some comments. 2000-01-16 23:18:56 +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 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
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