Add device driver support for USB ethernet adapters based on the CATC
USB-EL1202A chipset. Between this and the other two drivers, we should have support for pretty much every USB ethernet adapter on the market. The only other USB chip that I know of is the SMC USB97C196, and right now I don't know of any adapters that use it (including the ones made by SMC :/ ). Note that the CATC chip supports a nifty feature: read and write combining. This allows multiple ethernet packets to be transfered in a single USB bulk in/out transaction. However I'm again having trouble with large bulk in transfers like I did with the ADMtek chip, which leads me to believe that our USB stack needs some work before we can really make use of this feature. When/if things improve, I intend to revisit the aue and cue drivers. For now, I've lost enough sanity points.
This commit is contained in:
parent
bfbbc4aa44
commit
0177987224
@ -86,6 +86,7 @@ static struct _devname {
|
||||
{ DEVICE_TYPE_FLOPPY, "fd%d", "floppy drive unit A", 2, 0, 64, 4, 'b' },
|
||||
{ DEVICE_TYPE_FLOPPY, "worm%d", "SCSI optical disk / CDR", 23, 0, 1, 4, 'b' },
|
||||
{ DEVICE_TYPE_NETWORK, "aue", "ADMtek USB ethernet adapter" },
|
||||
{ DEVICE_TYPE_NETWORK, "cue", "CATC USB ethernet adapter" },
|
||||
{ DEVICE_TYPE_NETWORK, "fpa", "DEC DEFPA PCI FDDI card" },
|
||||
{ DEVICE_TYPE_NETWORK, "sr", "SDL T1/E1 sync serial PCI card" },
|
||||
{ DEVICE_TYPE_NETWORK, "cc3i", "SDL HSSI sync serial PCI card" },
|
||||
|
@ -370,6 +370,13 @@ ADMtek Inc. AN986-based USB ethernet NICs including the following:
|
||||
LinkSys USB100TX
|
||||
Billionton USB100
|
||||
Melco Inc. LU-ATX
|
||||
D-Link DSB-650TX
|
||||
SMC 2202USB
|
||||
|
||||
CATC USB-EL1202A-based USB ethernet NICs including the following:
|
||||
CATC Netmate
|
||||
CATC Netmate II
|
||||
Belkin F5U111
|
||||
|
||||
Kawasaki LSI KU5KUSB101B-based USB ethernet NICs including
|
||||
the following:
|
||||
@ -378,6 +385,12 @@ the following:
|
||||
Peracom USB Ethernet Adapter
|
||||
3Com 3c19250
|
||||
ADS Technologies USB-10BT
|
||||
ATen UC10T
|
||||
Netgear EA101
|
||||
D-Link DSB-650
|
||||
SMC 2102USB
|
||||
SMC 2104USB
|
||||
Corega USB-T
|
||||
|
||||
ASIX Electronics AX88140A PCI NICs, including the following:
|
||||
Alfa Inc. GFC2204
|
||||
|
@ -145,6 +145,10 @@ Netgear EA101, the D-Link DSB-650, and the SMC 2102USB and 2104USB.
|
||||
|
||||
IPfilter version 3.3.6 has been integrated.
|
||||
|
||||
Driver support has been added for USB ethernet adapters based on
|
||||
the CATC USB-EL1201A chip, including the CATC Netmate and Netmate II,
|
||||
and the Belkin F5U111.
|
||||
|
||||
1.2. SECURITY FIXES
|
||||
-------------------
|
||||
|
||||
@ -373,6 +377,11 @@ ADMtek Inc. AN986-based USB ethernet NICs including the following:
|
||||
D-Link DSB-650TX
|
||||
SMC 2202USB
|
||||
|
||||
CATC USB-EL1202A-based USB ethernet NICs including the following:
|
||||
CATC Netmate
|
||||
CATC Netmate II
|
||||
Belkin F5U111
|
||||
|
||||
Kawasaki LSI KU5KUSB101B-based USB ethernet NICs including
|
||||
the following:
|
||||
LinkSys USB10T
|
||||
@ -385,6 +394,7 @@ the following:
|
||||
D-Link DSB-650
|
||||
SMC 2102USB
|
||||
SMC 2104USB
|
||||
Corega USB-T
|
||||
|
||||
ASIX Electronics AX88140A PCI NICs, including the following:
|
||||
Alfa Inc. GFC2204
|
||||
|
@ -498,6 +498,11 @@ ADMtek Inc. AN986-based USB ethernet NICs including the following:
|
||||
D-Link DSB-650TX
|
||||
SMC 2202USB
|
||||
|
||||
CATC USB-EL1202A-based USB ethernet NICs including the following:
|
||||
CATC Netmate
|
||||
CATC Netmate II
|
||||
Belkin F5U111
|
||||
|
||||
Kawasaki LSI KU5KUSB101B-based USB ethernet NICs including
|
||||
the following:
|
||||
LinkSys USB10T
|
||||
@ -510,6 +515,7 @@ the following:
|
||||
D-Link DSB-650
|
||||
SMC 2102USB
|
||||
SMC 2104USB
|
||||
Corega USB-T
|
||||
|
||||
ASIX Electronics AX88140A PCI NICs, including the following:
|
||||
Alfa Inc. GFC2204
|
||||
|
@ -147,6 +147,10 @@ Netgear EA101, the D-Link DSB-650, and the SMC 2102USB and 2104USB.
|
||||
|
||||
IPfilter version 3.3.6 has been integrated.
|
||||
|
||||
Driver support has been added for USB ethernet adapters based on
|
||||
the CATC USB-EL1201A chip, including the CATC Netmate and Netmate II,
|
||||
and the Belkin F5U111.
|
||||
|
||||
1.2. SECURITY FIXES
|
||||
-------------------
|
||||
|
||||
@ -379,6 +383,11 @@ ADMtek Inc. AN986-based USB ethernet NICs including the following:
|
||||
D-Link DSB-650TX
|
||||
SMC 2202USB
|
||||
|
||||
CATC USB-EL1202A-based USB ethernet NICs including the following:
|
||||
CATC Netmate
|
||||
CATC Netmate II
|
||||
Belkin F5U111
|
||||
|
||||
Kawasaki LSI KU5KUSB101B-based USB ethernet NICs including
|
||||
the following:
|
||||
LinkSys USB10T
|
||||
@ -391,6 +400,7 @@ the following:
|
||||
D-Link DSB-650
|
||||
SMC 2102USB
|
||||
SMC 2104USB
|
||||
Corega USB-T
|
||||
|
||||
ASIX Electronics AX88140A PCI NICs, including the following:
|
||||
Alfa Inc. GFC2204
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
MAN4= ahc.4 alpm.4 amd.4 atkbd.4 atkbdc.4 aue.4 blackhole.4 bpf.4 \
|
||||
bridge.4 ccd.4 cd.4 ch.4 da.4 dc.4 ddb.4 de.4 \
|
||||
bridge.4 ccd.4 cd.4 ch.4 cue.4 da.4 dc.4 ddb.4 de.4 \
|
||||
divert.4 drum.4 dummynet.4 faith.4 fd.4 fdc.4 fpa.4 fxp.4 \
|
||||
gif.4 \
|
||||
icmp.4 ifmib.4 iic.4 iicbb.4 iicbus.4 iicsmb.4 \
|
||||
|
85
share/man/man4/cue.4
Normal file
85
share/man/man4/cue.4
Normal file
@ -0,0 +1,85 @@
|
||||
.\" Copyright (c) 1997, 1998, 1999, 2000
|
||||
.\" Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
|
||||
.\"
|
||||
.\" Redistribution and use in source and binary forms, with or without
|
||||
.\" modification, are permitted provided that the following conditions
|
||||
.\" are met:
|
||||
.\" 1. Redistributions of source code must retain the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer.
|
||||
.\" 2. Redistributions in binary form must reproduce the above copyright
|
||||
.\" notice, this list of conditions and the following disclaimer in the
|
||||
.\" documentation and/or other materials provided with the distribution.
|
||||
.\" 3. All advertising materials mentioning features or use of this software
|
||||
.\" must display the following acknowledgement:
|
||||
.\" This product includes software developed by Bill Paul.
|
||||
.\" 4. Neither the name of the author nor the names of any co-contributors
|
||||
.\" may be used to endorse or promote products derived from this software
|
||||
.\" without specific prior written permission.
|
||||
.\"
|
||||
.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
|
||||
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
.\" ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
|
||||
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
.\" THE POSSIBILITY OF SUCH DAMAGE.
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd January 13, 2000
|
||||
.Dt CUE 4 i386
|
||||
.Os FreeBSD
|
||||
.Sh NAME
|
||||
.Nm cue
|
||||
.Nd
|
||||
CATC USB-EL1201A USB Ethernet driver
|
||||
.Sh SYNOPSIS
|
||||
.Cd "controller uhci0"
|
||||
.Cd "controller ohci0"
|
||||
.Cd "controller usb0"
|
||||
.Cd "device cue0"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Nm
|
||||
driver provides support for USB ethernet adapters based on the Computer
|
||||
Access Technology Corporation's USB-EL1202A chipset, including the
|
||||
CATC Netmate and Netmate II, and the Belkin F5U111.
|
||||
.Pp
|
||||
The USB-EL1202A supports a 512-bit multicast hash filter, single perfect
|
||||
filter entry for the station address and promiscuous mode. Packets are
|
||||
received and transmitted over separate USB bulk transfer endpoints.
|
||||
.Pp
|
||||
The CATC adapter supports only 10mbps half-duplex mode, hence there
|
||||
are no
|
||||
.Xr ifmedia 4
|
||||
modes to select.
|
||||
.Pp
|
||||
For more information on configuring this device, see
|
||||
.Xr ifconfig 8 .
|
||||
.Sh DIAGNOSTICS
|
||||
.Bl -diag
|
||||
.It "cue%d: watchdog timeout"
|
||||
A packet was queued for transmission and a transmit command was
|
||||
issued, however the device failed to acknowledge the transmission
|
||||
before a timeout expired.
|
||||
.It "cue%d: no memory for rx list"
|
||||
The driver failed to allocate an mbuf for the receiver ring.
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
.Xr arp 4 ,
|
||||
.Xr netintro 4 ,
|
||||
.Xr ifconfig 8
|
||||
.Sh HISTORY
|
||||
The
|
||||
.Nm
|
||||
device driver first appeared in
|
||||
.Fx 4.0 .
|
||||
.Sh AUTHORS
|
||||
The
|
||||
.Nm
|
||||
driver was written by
|
||||
.An Bill Paul Aq wpaul@ee.columbia.edu .
|
@ -156,4 +156,5 @@ pseudo-device bpf #Berkeley packet filter
|
||||
#device ums0 # Mouse
|
||||
# USB Ethernet
|
||||
#device aue0 # ADMtek USB ethernet
|
||||
#device cue0 # CATC USB ethernet
|
||||
#device kue0 # Kawasaki LSI USB ethernet
|
||||
|
@ -156,4 +156,5 @@ pseudo-device bpf #Berkeley packet filter
|
||||
#device ums0 # Mouse
|
||||
# USB Ethernet
|
||||
#device aue0 # ADMtek USB ethernet
|
||||
#device cue0 # CATC USB ethernet
|
||||
#device kue0 # Kawasaki LSI USB ethernet
|
||||
|
@ -215,4 +215,5 @@ pseudo-device bpf #Berkeley packet filter
|
||||
#device ums0 # Mouse
|
||||
# USB Ethernet
|
||||
#device aue0 # ADMtek USB ethernet
|
||||
#device cue0 # CATC USB ethernet
|
||||
#device kue0 # Kawasaki LSI USB ethernet
|
||||
|
@ -167,6 +167,7 @@ ulpt_load="NO" # Printer
|
||||
ums_load="NO" # Mouse
|
||||
umass_load="NO" # Mass Storage Devices
|
||||
if_aue_load="NO" # ADMtek USB ethernet
|
||||
if_cue_load="NO" # CATC USB ethernet
|
||||
if_kue_load="NO" # Kawasaki LSI USB ethernet
|
||||
|
||||
##############################################################
|
||||
|
@ -2370,11 +2370,15 @@ device ums0
|
||||
# eval board.
|
||||
device aue0
|
||||
#
|
||||
# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
|
||||
# and Netmate II, and the Belkin F5U111.
|
||||
device cue0
|
||||
#
|
||||
# Kawasaki LSI ethernet. Supports the LinkSys USB10T,
|
||||
# Entrega USB-NET-E45, Peracom Ethernet Adapter, the
|
||||
# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
|
||||
# the Netgear EA101, the D-Link DSB-650, and the SMC 2102USB
|
||||
# and 2104USB.
|
||||
# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
|
||||
# and 2104USB, and the Corega USB-T.
|
||||
device kue0
|
||||
|
||||
# debugging options for the USB subsystem
|
||||
|
@ -909,6 +909,7 @@ dev/usb/ukbd.c optional ukbd
|
||||
dev/usb/umass.c optional umass
|
||||
dev/usb/uhub.c optional usb
|
||||
dev/usb/if_aue.c optional aue
|
||||
dev/usb/if_cue.c optional cue
|
||||
dev/usb/if_kue.c optional kue
|
||||
isa_if.o optional isa \
|
||||
dependency "isa_if.c isa_if.h" \
|
||||
|
1230
sys/dev/usb/if_cue.c
Normal file
1230
sys/dev/usb/if_cue.c
Normal file
File diff suppressed because it is too large
Load Diff
181
sys/dev/usb/if_cuereg.h
Normal file
181
sys/dev/usb/if_cuereg.h
Normal file
@ -0,0 +1,181 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 1998, 1999, 2000
|
||||
* Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by Bill Paul.
|
||||
* 4. Neither the name of the author nor the names of any co-contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
* ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
|
||||
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
* THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Definitions for the CATC Netmate II USB to ethernet controller.
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Vendor specific control commands.
|
||||
*/
|
||||
#define CUE_CMD_RESET 0xF4
|
||||
#define CUE_CMD_GET_MACADDR 0xF2
|
||||
#define CUE_CMD_WRITEREG 0xFA
|
||||
#define CUE_CMD_READREG 0xFB
|
||||
#define CUE_CMD_READSRAM 0xF1
|
||||
#define CUE_CMD_WRITESRAM 0xFC
|
||||
|
||||
/*
|
||||
* Internal registers
|
||||
*/
|
||||
#define CUE_TX_BUFCNT 0x20
|
||||
#define CUE_RX_BUFCNT 0x21
|
||||
#define CUE_ADVANCED_OPMODES 0x22
|
||||
#define CUE_TX_BUFPKTS 0x23
|
||||
#define CUE_RX_BUFPKTS 0x24
|
||||
#define CUE_RX_MAXCHAIN 0x25
|
||||
|
||||
#define CUE_ETHCTL 0x60
|
||||
#define CUE_ETHSTS 0x61
|
||||
#define CUE_PAR5 0x62
|
||||
#define CUE_PAR4 0x63
|
||||
#define CUE_PAR3 0x64
|
||||
#define CUE_PAR2 0x65
|
||||
#define CUE_PAR1 0x66
|
||||
#define CUE_PAR0 0x67
|
||||
|
||||
/* Error counters, all 16 bits wide. */
|
||||
#define CUE_TX_SINGLECOLL 0x69
|
||||
#define CUE_TX_MULTICOLL 0x6B
|
||||
#define CUE_TX_EXCESSCOLL 0x6D
|
||||
#define CUE_RX_FRAMEERR 0x6F
|
||||
|
||||
#define CUE_LEDCTL 0x81
|
||||
|
||||
/* Advenced operating mode register */
|
||||
#define CUE_AOP_SRAMWAITS 0x03
|
||||
#define CUE_AOP_EMBED_RXLEN 0x08
|
||||
#define CUE_AOP_RXCOMBINE 0x10
|
||||
#define CUE_AOP_TXCOMBINE 0x20
|
||||
#define CUE_AOP_EVEN_PKT_READS 0x40
|
||||
#define CUE_AOP_LOOPBK 0x80
|
||||
|
||||
/* Ethernet control register */
|
||||
#define CUE_ETHCTL_RX_ON 0x01
|
||||
#define CUE_ETHCTL_LINK_POLARITY 0x02
|
||||
#define CUE_ETHCTL_LINK_FORCE_OK 0x04
|
||||
#define CUE_ETHCTL_MCAST_ON 0x08
|
||||
#define CUE_ETHCTL_PROMISC 0x10
|
||||
|
||||
/* Ethernet status register */
|
||||
#define CUE_ETHSTS_NO_CARRIER 0x01
|
||||
#define CUE_ETHSTS_LATECOLL 0x02
|
||||
#define CUE_ETHSTS_EXCESSCOLL 0x04
|
||||
#define CUE_ETHSTS_TXBUF_AVAIL 0x08
|
||||
#define CUE_ETHSTS_BAD_POLARITY 0x10
|
||||
#define CUE_ETHSTS_LINK_OK 0x20
|
||||
|
||||
/* LED control register */
|
||||
#define CUE_LEDCTL_BLINK_1X 0x00
|
||||
#define CUE_LEDCTL_BLINK_2X 0x01
|
||||
#define CUE_LEDCTL_BLINK_QUARTER_ON 0x02
|
||||
#define CUE_LEDCTL_BLINK_QUARTER_OFF 0x03
|
||||
#define CUE_LEDCTL_OFF 0x04
|
||||
#define CUE_LEDCTL_FOLLOW_LINK 0x08
|
||||
|
||||
/*
|
||||
* Address in ASIC's internal SRAM where the
|
||||
* multicast hash table lives. The table is 64 bytes long,
|
||||
* giving us a 512-bit table. We have to set the bit that
|
||||
* corresponds to the broadcast address in order to enable
|
||||
* reception of broadcast frames.
|
||||
*/
|
||||
#define CUE_MCAST_TABLE_ADDR 0xFA80
|
||||
#define CUE_MCAST_TABLE_LEN 64
|
||||
|
||||
#define CUE_TIMEOUT 1000
|
||||
#define ETHER_ALIGN 2
|
||||
#define CUE_BUFSZ 1536
|
||||
#define CUE_CUTOFF 1088
|
||||
#define CUE_MIN_FRAMELEN 60
|
||||
#define CUE_RX_FRAMES 10
|
||||
#define CUE_TX_FRAMES 10
|
||||
|
||||
#define CUE_RX_LIST_CNT 1
|
||||
#define CUE_TX_LIST_CNT 1
|
||||
|
||||
#define CUE_CTL_READ 0x01
|
||||
#define CUE_CTL_WRITE 0x02
|
||||
|
||||
/*
|
||||
* The interrupt endpoint is currently unused
|
||||
* by the KLSI part.
|
||||
*/
|
||||
#define CUE_ENDPT_RX 0x0
|
||||
#define CUE_ENDPT_TX 0x1
|
||||
#define CUE_ENDPT_INTR 0x2
|
||||
#define CUE_ENDPT_MAX 0x3
|
||||
|
||||
struct cue_type {
|
||||
u_int16_t cue_vid;
|
||||
u_int16_t cue_did;
|
||||
char *cue_name;
|
||||
};
|
||||
|
||||
struct cue_softc;
|
||||
|
||||
struct cue_chain {
|
||||
struct cue_softc *cue_sc;
|
||||
usbd_xfer_handle cue_xfer;
|
||||
char *cue_buf;
|
||||
struct mbuf *cue_mbuf;
|
||||
int cue_accum;
|
||||
int cue_idx;
|
||||
};
|
||||
|
||||
struct cue_cdata {
|
||||
struct cue_chain cue_tx_chain[CUE_TX_LIST_CNT];
|
||||
struct cue_chain cue_rx_chain[CUE_RX_LIST_CNT];
|
||||
int cue_tx_prod;
|
||||
int cue_tx_cons;
|
||||
int cue_tx_cnt;
|
||||
int cue_rx_prod;
|
||||
};
|
||||
|
||||
#define CUE_INC(x, y) (x) = (x + 1) % y
|
||||
|
||||
struct cue_softc {
|
||||
struct arpcom arpcom;
|
||||
usbd_device_handle cue_udev;
|
||||
usbd_interface_handle cue_iface;
|
||||
int cue_ed[CUE_ENDPT_MAX];
|
||||
usbd_pipe_handle cue_ep[CUE_ENDPT_MAX];
|
||||
int cue_unit;
|
||||
u_int8_t cue_mctab[CUE_MCAST_TABLE_LEN];
|
||||
int cue_if_flags;
|
||||
u_int16_t cue_rxfilt;
|
||||
struct cue_cdata cue_cdata;
|
||||
struct callout_handle cue_stat_ch;
|
||||
};
|
@ -215,4 +215,5 @@ pseudo-device bpf #Berkeley packet filter
|
||||
#device ums0 # Mouse
|
||||
# USB Ethernet
|
||||
#device aue0 # ADMtek USB ethernet
|
||||
#device cue0 # CATC USB ethernet
|
||||
#device kue0 # Kawasaki LSI USB ethernet
|
||||
|
@ -2370,11 +2370,15 @@ device ums0
|
||||
# eval board.
|
||||
device aue0
|
||||
#
|
||||
# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
|
||||
# and Netmate II, and the Belkin F5U111.
|
||||
device cue0
|
||||
#
|
||||
# Kawasaki LSI ethernet. Supports the LinkSys USB10T,
|
||||
# Entrega USB-NET-E45, Peracom Ethernet Adapter, the
|
||||
# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
|
||||
# the Netgear EA101, the D-Link DSB-650, and the SMC 2102USB
|
||||
# and 2104USB.
|
||||
# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
|
||||
# and 2104USB, and the Corega USB-T.
|
||||
device kue0
|
||||
|
||||
# debugging options for the USB subsystem
|
||||
|
@ -223,6 +223,7 @@ pseudo-device bpf #Berkeley packet filter
|
||||
#device umass0 # Disks/Mass storage - Requires scbus and da0
|
||||
#device ums0 # Mouse
|
||||
#device aue0 # ADMtek USB ethernet
|
||||
#device cue0 # CATC USB ethernet
|
||||
#device kue0 # Kawasaki LSI USB ethernet
|
||||
|
||||
options DDB
|
||||
|
@ -2370,11 +2370,15 @@ device ums0
|
||||
# eval board.
|
||||
device aue0
|
||||
#
|
||||
# CATC USB-EL1201A USB ethernet. Supports the CATC Netmate
|
||||
# and Netmate II, and the Belkin F5U111.
|
||||
device cue0
|
||||
#
|
||||
# Kawasaki LSI ethernet. Supports the LinkSys USB10T,
|
||||
# Entrega USB-NET-E45, Peracom Ethernet Adapter, the
|
||||
# 3Com 3c19250, the ADS Technologies USB-10BT, the ATen UC10T,
|
||||
# the Netgear EA101, the D-Link DSB-650, and the SMC 2102USB
|
||||
# and 2104USB.
|
||||
# the Netgear EA101, the D-Link DSB-650, the SMC 2102USB
|
||||
# and 2104USB, and the Corega USB-T.
|
||||
device kue0
|
||||
|
||||
# debugging options for the USB subsystem
|
||||
|
@ -214,4 +214,5 @@ pseudo-device bpf #Berkeley packet filter
|
||||
#device umass0 # Disks/Mass storage - Requires scbus and da0
|
||||
#device ums0 # Mouse
|
||||
#device aue0 # ADMtek USB ethernet
|
||||
#device cue0 # CATC USB ethernet
|
||||
#device kue0 # Kawasaki LSI USB ethernet
|
||||
|
@ -378,6 +378,7 @@ static DEV_INFO device_info[] = {
|
||||
|
||||
{"plip", "Parallel Port IP link", FLG_FIXED, CLS_NETWORK},
|
||||
{"aue", "ADMtek AN986 USB ethernet adapter", FLG_FIXED, CLS_NETWORK},
|
||||
{"cue", "CATC USB ethernet adapter", FLG_FIXED, CLS_NETWORK},
|
||||
{"kue", "Kawasaki LSI USB ethernet adapter", FLG_FIXED, CLS_NETWORK},
|
||||
{"cs", "IBM EtherJet, CS89x0-based Ethernet adapters",0, CLS_NETWORK},
|
||||
{"ed", "NE1000,NE2000,3C503,WD/SMC80xx Ethernet adapters",0, CLS_NETWORK},
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
# XXX present but broken: ip_mroute_mod pcic
|
||||
|
||||
SUBDIR= aha amr aue ccd cd9660 coda dc fdesc fxp if_disc if_ef if_ppp \
|
||||
SUBDIR= aha amr aue ccd cd9660 coda cue dc fdesc fxp if_disc if_ef if_ppp \
|
||||
if_sl if_tun ipfilter ipfw joy kernfs kue md mfs mii mlx msdos \
|
||||
ncp netgraph nfs ntfs nullfs \
|
||||
nwfs portal procfs rl sf sis sk ste ti tl \
|
||||
|
10
sys/modules/cue/Makefile
Normal file
10
sys/modules/cue/Makefile
Normal file
@ -0,0 +1,10 @@
|
||||
# $FreeBSD$
|
||||
|
||||
S = ${.CURDIR}/../..
|
||||
.PATH: $S/dev/usb
|
||||
KMOD = if_cue
|
||||
SRCS = if_cue.c opt_bdg.h opt_usb.h device_if.h bus_if.h
|
||||
SRCS += miibus_if.h
|
||||
CFLAGS += ${DEBUG_FLAGS}
|
||||
|
||||
.include <bsd.kmod.mk>
|
@ -86,6 +86,7 @@ static struct _devname {
|
||||
{ DEVICE_TYPE_FLOPPY, "fd%d", "floppy drive unit A", 2, 0, 64, 4, 'b' },
|
||||
{ DEVICE_TYPE_FLOPPY, "worm%d", "SCSI optical disk / CDR", 23, 0, 1, 4, 'b' },
|
||||
{ DEVICE_TYPE_NETWORK, "aue", "ADMtek USB ethernet adapter" },
|
||||
{ DEVICE_TYPE_NETWORK, "cue", "CATC USB ethernet adapter" },
|
||||
{ DEVICE_TYPE_NETWORK, "fpa", "DEC DEFPA PCI FDDI card" },
|
||||
{ DEVICE_TYPE_NETWORK, "sr", "SDL T1/E1 sync serial PCI card" },
|
||||
{ DEVICE_TYPE_NETWORK, "cc3i", "SDL HSSI sync serial PCI card" },
|
||||
|
@ -86,6 +86,7 @@ static struct _devname {
|
||||
{ DEVICE_TYPE_FLOPPY, "fd%d", "floppy drive unit A", 2, 0, 64, 4, 'b' },
|
||||
{ DEVICE_TYPE_FLOPPY, "worm%d", "SCSI optical disk / CDR", 23, 0, 1, 4, 'b' },
|
||||
{ DEVICE_TYPE_NETWORK, "aue", "ADMtek USB ethernet adapter" },
|
||||
{ DEVICE_TYPE_NETWORK, "cue", "CATC USB ethernet adapter" },
|
||||
{ DEVICE_TYPE_NETWORK, "fpa", "DEC DEFPA PCI FDDI card" },
|
||||
{ DEVICE_TYPE_NETWORK, "sr", "SDL T1/E1 sync serial PCI card" },
|
||||
{ DEVICE_TYPE_NETWORK, "cc3i", "SDL HSSI sync serial PCI card" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user