augustss
b32942bb23
Whitespace fixes.
2002-03-17 18:02:52 +00:00
augustss
dfbcffae07
Remove some stupid casts.
2001-12-12 15:36:08 +00:00
augustss
02aa2a59bc
Handle vendor/product lookup with a common routine.
2001-12-03 01:47:12 +00:00
lukem
667807e40c
add RCSIDs
2001-11-13 06:24:53 +00:00
augustss
3d25ac0f24
Add some more Ethernet adapters (info gleaned from Linux).
2001-10-08 03:37:53 +00:00
augustss
298ec741b8
Alphabetize.
2001-07-16 13:54:23 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
augustss
82fe39b9cb
Add a Peracom adapter.
2001-04-08 02:10:57 +00:00
augustss
9385e3019d
Add Abocom URE450 Ethernet adapter.
2001-01-30 15:04:23 +00:00
enami
2c218a4926
Handle allmulti case correctly as a NetBSD network driver;
...
if we are requested range of multicast address or too many multicast address,
program multicast filter to receive all multicast address. And set/clear
IFF_ALLMULTI flag properly.
2001-01-29 01:24:42 +00:00
augustss
b2245c50fc
Several changes:
...
* Get rid of `#ifdef FreeBSD'; they seem to maintain their own version.
* Change watchdog code (from FreeBSD).
* Get rid of the horrible USBD_NO_TSLEEP hack.
* Repair some const damage.
2001-01-21 15:55:05 +00:00
augustss
8894e84df0
Use a better way to test if we are cold starting the device. (From FreeBSD)
2001-01-21 02:33:52 +00:00
jdolecek
34c8ae80da
constify
2001-01-18 20:28:15 +00:00
thorpej
71cbcad899
ALTQ'ify.
2000-12-14 07:51:36 +00:00
jdolecek
80a6068f99
add I/O Data USB-ET/T (which uses KL5KUSB101B) to the list
...
Patch sent in kern/11635 by ORI Manabu
2000-12-06 21:44:08 +00:00
thorpej
b84f740be0
Move bpfattach()/bpfdetach() calls into ether_ifattach()/ether_ifdetach().
2000-11-15 01:02:11 +00:00
augustss
94e36acb29
Tell usbd_set_config_no() to be verbose. It's nice to know whyit fails.
2000-10-24 14:53:59 +00:00
thorpej
7ca3fb9ef0
Move the check for "promisc + unicast + not for us" into ether_input(),
...
and change Ethernet drivers to always pass all received frames to
ether_input() (with a few exceptions, which are documented in the
code).
2000-10-01 23:32:39 +00:00
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
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
28a87e2fdb
Use default timeout for transfers.
2000-03-27 22:44:01 +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
a9643a2075
Regen & adjust name.
2000-03-26 15:08:43 +00:00
augustss
b7eeb17414
Change the test for cold boot slightly to avoid a long busy wait with UHCI.
2000-03-25 17:59:34 +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
augustss
06bb856348
Some new devices. From FreeBSD.
2000-03-20 01:31:10 +00:00
augustss
9a34877094
Clean up code a little.
2000-03-20 00:41:55 +00:00
augustss
89de970942
Switch method for determing if we are cold booting. The driver now works
...
with OHCI adapters.
2000-03-20 00:27:11 +00:00
augustss
499e5cba01
Fix some uninitialized variables. From Krister Walfridsson <cato@df.lth.se>
2000-03-15 22:40:30 +00:00
augustss
b8b53d87db
Avoid accessing the device if it is dying.
2000-03-12 21:57:50 +00:00
augustss
07574c3239
Add a debug message.
2000-03-08 15:33:38 +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
hubertf
a6a5be8ccf
This driver also handles the 3COM 3COM HomeConnect Ethernet USB Adapter
...
(3C460), rev 1.00/2.05
2000-02-29 19:08:09 +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
c9d8358135
Generate usb events on attach and detach.
...
Clean up detach a little.
2000-02-02 13:21:25 +00:00
thorpej
db8dc44033
Add support for detaching the interface.
2000-02-01 22:53:14 +00:00
augustss
bbd7b89f19
Recognize Linksys USB10T.
2000-01-24 08:47:43 +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
28c8d7c7bb
Remove some unnecessary cleanup.
2000-01-17 13:25:22 +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