usb 2 lan

hi
in windows xp driver manager showing my usb 2 lan as:


usb\vid_0fe6&pid_8101\5&385a3465&0&1

but what driver i need in open SUSE 11.1 x86_64??
my lsusb


linux-orc9:~/Desktop # lsusb
Bus 008 Device 002: ID 04a9:220d Canon, Inc. CanoScan N670U/N676U/LiDE 20
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 003: ID 045e:0083 Microsoft Corp. Basic Optical Mouse
Bus 006 Device 002: ID 0fe6:8101  
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0d49:7450 Maxtor 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


what to do??

On 11/26/2009 04:36 PM, csayantan wrote:
>
> hi
> in windows xp driver manager showing my usb 2 lan as:
>
>
> Code:
> --------------------
>
> usb\vid_0fe6&pid_8101\5&385a3465&0&1
>
> --------------------
>
>
> but what driver i need in open SUSE 11.1 x86_64??
> my lsusb
> Bus 006 Device 002: ID 0fe6:8101

The driver is dm9601.ko. It should already be loaded. You can check this with
‘lsmod | dm9601’. You should also look at ‘dmesg | grep dm96’.

lsmod |


linux-orc9:~/Desktop # /etc/init.d/oracleasm
bash: /etc/init.d/oracleasm: No such file or directory
linux-orc9:~/Desktop # lsmod | dm9601
bash: dm9601: command not found
linux-orc9:~/Desktop # lsmod | grep dm9601
linux-orc9:~/Desktop # lsmod
Module                  Size  Used by
ip6t_LOG                6212  7 
xt_tcpudp               2728  2 
xt_pkttype              1560  3 
ipt_LOG                 5708  8 
xt_limit                2056  15 
xt_physdev              2220  2 
sco                     9996  2 
bnep                   11624  2 
rfcomm                 35548  0 
l2cap                  20504  6 bnep,rfcomm
bluetooth              54100  6 sco,bnep,rfcomm,l2cap
binfmt_misc             7872  1 
snd_pcm_oss            43300  0 
snd_mixer_oss          14288  1 snd_pcm_oss
snd_seq                52248  0 
snd_seq_device          7168  1 snd_seq
af_packet              16596  0 
bridge                 48012  2 
stp                     2248  1 bridge
ip6t_REJECT             4984  3 
nf_conntrack_ipv6      20196  4 
ip6table_raw            1792  1 
xt_NOTRACK              1544  4 
ipt_REJECT              2760  3 
xt_state                1904  8 
iptable_raw             2056  1 
iptable_filter          2548  1 
ip6table_mangle         2288  0 
nf_conntrack_netbios_ns     2152  0 
nf_conntrack_ipv4      10480  4 
nf_conntrack           67400  5 nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4
ip_tables              11348  2 iptable_raw,iptable_filter
ip6table_filter         2408  1 
ip6_tables             12580  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               14500  12 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,xt_physdev,ip6t_REJECT,xt_NOTRACK,ipt_REJECT,xt_state,ip_tables,ip6_tables
ipv6                  242608  33 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
cpufreq_conservative     6360  0 
cpufreq_userspace       3112  0 
cpufreq_powersave       1640  0 
acpi_cpufreq            7332  1 
speedstep_lib           4556  0 
fuse                   52488  3 
loop                   15028  0 
dm_mod                 62236  0 
snd_hda_intel         413232  3 
intel_agp              24600  0 
snd_pcm                79096  2 snd_pcm_oss,snd_hda_intel
snd_timer              21132  2 snd_seq,snd_pcm
snd_page_alloc          8184  2 snd_hda_intel,snd_pcm
rtc_cmos               11488  0 
ohci1394               27664  0 
snd_hwdep               7144  1 snd_hda_intel
agpgart                32564  1 intel_agp
pcspkr                  2344  0 
rtc_core               18048  1 rtc_cmos
button                  6560  0 
atl1e                  34564  0 
sr_mod                 13536  0 
rtc_lib                 2816  1 rtc_core
snd                    57408  14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
i2c_i801               10564  0 
ieee1394               84020  1 ohci1394
tulip                  47188  0 
soundcore               6900  1 snd
i2c_core               29972  1 i2c_i801
cdrom                  32288  1 sr_mod
sg                     29376  0 
usbhid                 45908  0 
hid                    35784  1 usbhid
ff_memless              7244  1 usbhid
uhci_hcd               23776  0 
sd_mod                 31424  5 
crc_t10dif              1704  1 sd_mod
ehci_hcd               48260  0 
usbcore               167604  4 usbhid,uhci_hcd,ehci_hcd
edd                     8616  0 
ext3                  124716  3 
mbcache                 8132  1 ext3
jbd                    56764  1 ext3
fan                     4712  0 
ide_pci_generic         3428  0 
ide_core               99412  1 ide_pci_generic
ata_generic             4484  0 
pata_marvell            3404  0 
thermal                19916  0 
processor              44060  2 acpi_cpufreq,thermal
thermal_sys            11364  3 fan,thermal,processor
hwmon                   3092  1 thermal_sys
ahci                   28488  4 
libata                161148  3 ata_generic,pata_marvell,ahci
scsi_mod              149804  4 sr_mod,sg,sd_mod,libata
dock                   11988  1 libata
linux-orc9:~/Desktop # dmesg | grep dm96
linux-orc9:~/Desktop # dmesg | grep dm9601




nothing there.how to get it by zypper??


linux-orc9:~/Desktop # /etc/init.d/oracleasm
bash: /etc/init.d/oracleasm: No such file or directory
linux-orc9:~/Desktop # lsmod | dm9601
bash: dm9601: command not found
linux-orc9:~/Desktop # lsmod | grep dm9601
linux-orc9:~/Desktop # lsmod
Module                  Size  Used by
ip6t_LOG                6212  7 
xt_tcpudp               2728  2 
xt_pkttype              1560  3 
ipt_LOG                 5708  8 
xt_limit                2056  15 
xt_physdev              2220  2 
sco                     9996  2 
bnep                   11624  2 
rfcomm                 35548  0 
l2cap                  20504  6 bnep,rfcomm
bluetooth              54100  6 sco,bnep,rfcomm,l2cap
binfmt_misc             7872  1 
snd_pcm_oss            43300  0 
snd_mixer_oss          14288  1 snd_pcm_oss
snd_seq                52248  0 
snd_seq_device          7168  1 snd_seq
af_packet              16596  0 
bridge                 48012  2 
stp                     2248  1 bridge
ip6t_REJECT             4984  3 
nf_conntrack_ipv6      20196  4 
ip6table_raw            1792  1 
xt_NOTRACK              1544  4 
ipt_REJECT              2760  3 
xt_state                1904  8 
iptable_raw             2056  1 
iptable_filter          2548  1 
ip6table_mangle         2288  0 
nf_conntrack_netbios_ns     2152  0 
nf_conntrack_ipv4      10480  4 
nf_conntrack           67400  5 nf_conntrack_ipv6,xt_NOTRACK,xt_state,nf_conntrack_netbios_ns,nf_conntrack_ipv4
ip_tables              11348  2 iptable_raw,iptable_filter
ip6table_filter         2408  1 
ip6_tables             12580  4 ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
x_tables               14500  12 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,xt_physdev,ip6t_REJECT,xt_NOTRACK,ipt_REJECT,xt_state,ip_tables,ip6_tables
ipv6                  242608  33 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
cpufreq_conservative     6360  0 
cpufreq_userspace       3112  0 
cpufreq_powersave       1640  0 
acpi_cpufreq            7332  1 
speedstep_lib           4556  0 
fuse                   52488  3 
loop                   15028  0 
dm_mod                 62236  0 
snd_hda_intel         413232  3 
intel_agp              24600  0 
snd_pcm                79096  2 snd_pcm_oss,snd_hda_intel
snd_timer              21132  2 snd_seq,snd_pcm
snd_page_alloc          8184  2 snd_hda_intel,snd_pcm
rtc_cmos               11488  0 
ohci1394               27664  0 
snd_hwdep               7144  1 snd_hda_intel
agpgart                32564  1 intel_agp
pcspkr                  2344  0 
rtc_core               18048  1 rtc_cmos
button                  6560  0 
atl1e                  34564  0 
sr_mod                 13536  0 
rtc_lib                 2816  1 rtc_core
snd                    57408  14 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
i2c_i801               10564  0 
ieee1394               84020  1 ohci1394
tulip                  47188  0 
soundcore               6900  1 snd
i2c_core               29972  1 i2c_i801
cdrom                  32288  1 sr_mod
sg                     29376  0 
usbhid                 45908  0 
hid                    35784  1 usbhid
ff_memless              7244  1 usbhid
uhci_hcd               23776  0 
sd_mod                 31424  5 
crc_t10dif              1704  1 sd_mod
ehci_hcd               48260  0 
usbcore               167604  4 usbhid,uhci_hcd,ehci_hcd
edd                     8616  0 
ext3                  124716  3 
mbcache                 8132  1 ext3
jbd                    56764  1 ext3
fan                     4712  0 
ide_pci_generic         3428  0 
ide_core               99412  1 ide_pci_generic
ata_generic             4484  0 
pata_marvell            3404  0 
thermal                19916  0 
processor              44060  2 acpi_cpufreq,thermal
thermal_sys            11364  3 fan,thermal,processor
hwmon                   3092  1 thermal_sys
ahci                   28488  4 
libata                161148  3 ata_generic,pata_marvell,ahci
scsi_mod              149804  4 sr_mod,sg,sd_mod,libata
dock                   11988  1 libata
linux-orc9:~/Desktop # dmesg | grep dm96
linux-orc9:~/Desktop # dmesg | grep dm9601

linux-orc9:~/Desktop # zypper install dm9601
Loading repository data...
Reading installed packages...
'dm9601' not found.
Resolving package dependencies...
Nothing to do.



nothing there.how to get it by zypper or any other repo??

It must be already there.

modprobe dm9601

linux-orc9:~/Desktop # modprobe dm9601
linux-orc9:~/Desktop # 



This means, it is loaded now. Now, see if you can configure it.


linux-orc9:~/Desktop # ifconfig -a
br0       Link encap:Ethernet  HWaddr 00:26:18:59:EE:49  
          inet addr:192.168.1.7  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:18ff:fe59:ee49/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:15024 (14.6 Kb)  TX bytes:7926 (7.7 Kb)

br1       Link encap:Ethernet  HWaddr 00:00:E8:F7:02:B0  
          inet addr:192.168.1.8  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::200:e8ff:fef7:2b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:30 errors:0 dropped:0 overruns:0 frame:0
          TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2704 (2.6 Kb)  TX bytes:7764 (7.5 Kb)

eth0      Link encap:Ethernet  HWaddr 00:26:18:59:EE:49  
          inet addr:192.168.1.4  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:18ff:fe59:ee49/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:12656 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11841 errors:0 dropped:0 overruns:0 carrier:4
          collisions:0 txqueuelen:1000 
          RX bytes:9435842 (8.9 Mb)  TX bytes:2189136 (2.0 Mb)
          Interrupt:218 

eth1      Link encap:Ethernet  HWaddr 00:00:E8:F7:02:B0  
          inet addr:192.168.1.5  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::200:e8ff:fef7:2b0/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:624 errors:0 dropped:0 overruns:0 frame:0
          TX packets:220 errors:7 dropped:0 overruns:0 carrier:14
          collisions:0 txqueuelen:1000 
          RX bytes:138640 (135.3 Kb)  TX bytes:35082 (34.2 Kb)
          Interrupt:17 Base address:0xe800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:114 errors:0 dropped:0 overruns:0 frame:0
          TX packets:114 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:13586 (13.2 Kb)  TX bytes:13586 (13.2 Kb)

linux-orc9:~/Desktop # 


it should get three ethernet eth 0, eth 1, eth 2 but its not getting it.what to do?

What do you see in Yast? Do you see an additional interface there?

no.its comming once when i am adding it.next time i when i am opening that same window its vanishes…

what to do??

Do you mean it accepts when you add it and disappears when you come out of that?
Do you see it in ifconfig when you come out?
Also, can you see files in /etc/sysconfig/network ?

yes

no.

ifconfig output:


linux-orc9:~/Desktop # ifconfig
br0       Link encap:Ethernet  HWaddr 00:26:18:59:EE:49  
          inet addr:192.168.1.9  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::226:18ff:fe59:ee49/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4885 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4963 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:3718626 (3.5 Mb)  TX bytes:1058206 (1.0 Mb)

br1       Link encap:Ethernet  HWaddr 00:00:E8:F7:02:B0  
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::200:e8ff:fef7:2b0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:63 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:8170 (7.9 Kb)  TX bytes:10564 (10.3 Kb)

eth0      Link encap:Ethernet  HWaddr 00:26:18:59:EE:49  
          inet addr:192.168.1.7  Bcast:0.0.0.0  Mask:255.255.255.255
          inet6 addr: fe80::226:18ff:fe59:ee49/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:21962 errors:0 dropped:0 overruns:0 frame:0
          TX packets:19326 errors:0 dropped:0 overruns:0 carrier:8
          collisions:0 txqueuelen:1000 
          RX bytes:15049401 (14.3 Mb)  TX bytes:3550001 (3.3 Mb)
          Interrupt:218 

eth1      Link encap:Ethernet  HWaddr 00:00:E8:F7:02:B0  
          inet addr:192.168.1.6  Bcast:0.0.0.0  Mask:255.255.255.255
          inet6 addr: fe80::200:e8ff:fef7:2b0/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:2704 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2295 errors:7 dropped:0 overruns:0 carrier:14
          collisions:0 txqueuelen:1000 
          RX bytes:808102 (789.1 Kb)  TX bytes:1068631 (1.0 Mb)
          Interrupt:17 Base address:0xe800 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:527 errors:0 dropped:0 overruns:0 frame:0
          TX packets:527 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:48049 (46.9 Kb)  TX bytes:48049 (46.9 Kb)

linux-orc9:~/Desktop # 



/etc/sysconfig/networ


"   /etc/sysconfig/network
"   Sorted by      name
"   Sort sequence: \/]$,\.h$,\.c$,\.cpp$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~
"   Quick Help: <F1>:help  -:go up dir  D:delete  R:rename  s:sort-by  x:exec
" ============================================================================
../
if-down.d/
if-up.d/
providers/
scripts/
config
dhcp
dhcp6r
dhcp6s
ifcfg-br0
ifcfg-br1
ifcfg-eth0
ifcfg-eth1
ifcfg-lo
ifcfg.template
ifroute-lo
routes
routes.YaST2save
                 

That looks strange. Can you see the log from another terminal window when Yast is doing/undoing this configuration?

tail -f /var/log/messages

We can, at least, see what is happening.


linux-orc9:~/Desktop # tail -f /var/log/messages
Nov 28 21:52:08 linux-orc9 nm-system-settings: Adding default connection 'Auto eth1' for /org/freedesktop/Hal/devices/net_00_00_e8_f7_02_b0
Nov 28 21:52:08 linux-orc9 nm-system-settings: Adding default connection 'Auto eth0' for /org/freedesktop/Hal/devices/net_00_26_18_59_ee_49
Nov 28 22:00:38 linux-orc9 hald: unmounted /dev/sdc6 from '/media/DISK' on behalf of uid 0
Nov 28 22:00:42 linux-orc9 hald: unmounted /dev/sdc5 from '/media/DISK_' on behalf of uid 0
Nov 28 22:00:45 linux-orc9 ntfs-3g[5314]: Unmounting /dev/sdc7 (New Volume)
Nov 28 22:00:45 linux-orc9 hald: unmounted /dev/sdc7 from '/media/New Volume' on behalf of uid 0
Nov 28 22:00:52 linux-orc9 kernel: usb 4-6: USB disconnect, address 2
Nov 28 22:06:35 linux-orc9 avahi-daemon[4264]: Registering new address record for fe80::5c28:56ff:fe7d:c2c3 on pan0.*.
Nov 28 22:06:36 linux-orc9 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Nov 28 22:06:44 linux-orc9 kernel: pan0: no IPv6 routers present
Nov 28 22:08:21 linux-orc9 SuSEfirewall2: SuSEfirewall2 not active
Nov 28 22:08:21 linux-orc9 SuSEfirewall2: SuSEfirewall2 not active


I think you did that after you came out of Yast. I can see only eth1 and eth0 there. Can you display more lines and see.
For example, the following displays 50 lines from the tail of the log.

tail -50f /var/log/messages

Actually, what you should do is, type the above command from one terminal and then run Yast.

Sunrising USB Ethernet adapter driver « Bridging the gap between CCIE RS and SP

check this out…i the min time i am trying to do so.in fact i did exactly the same way as you said.i think dm9601 is not there.otherwise lsmod would detect it.

can you give the source link so that i can modify it accordingly…

some more info:
[SOLVED] Davicom DM9601 USB 10/100 Ethernet - Ubuntu Forums](http://ubuntuforums.org/showthread.php?t=483189)

will it work with http://ubuntuforums.org/attachment.php?attachmentid=78751&d=1216876426

In an earlier post, you loaded the driver and it didn’t give any errors. That means, the driver is there and you can load it too. No need to compile again.

in first post you see


Bus 006 Device 002: ID 0fe6:8101 

no company name etc there.i may try hundred times as you are saying but it wont detect.Same problem i am facing in OEL 5.2 in my different machine where dm9601 is present also…

HTH


/*
 *  Copyright (c) 1999,2000 Petko Manolov - Petkan (petkan@dce.bg)
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */


#ifndef	DM9601_DEV

#define	HAS_HOME_PNA		0x40000000

#define	DM9601_MTU		1500
#define	DM9601_MAX_MTU		1536

#define	EPROM_WRITE		0x01
#define	EPROM_READ		0x02
#define	EPROM_LOAD		0x20

#define	MII_BMCR		0x00
#define	MII_BMSR		0x01
#define	PHY_READ		0x40
#define	PHY_WRITE		0x20

#define	DM9601_PRESENT		0x00000001
#define	DM9601_RUNNING		0x00000002
#define	DM9601_TX_BUSY		0x00000004
#define	DM9601_RX_BUSY		0x00000008
#define	CTRL_URB_RUNNING	0x00000010
#define	CTRL_URB_SLEEP		0x00000020
#define	DM9601_UNPLUG		0x00000040
#define	DM9601_RESET_WAIT	0x00800000
#define	NET_CTRL_CHANGE		0x04000000
#define	NET_CTRL_CHANGED	0x08000000
#define	RX_CTRL_CHANGE		0x10000000
#define	RX_CTRL_CHANGED		0x20000000
#define	HASH_REGS_CHANGE	0x40000000
#define	HASH_REGS_CHANGED	0x80000000
#define ALL_REGS_CHANGE		(NET_CTRL_CHANGE | RX_CTRL_CHANGE | HASH_REGS_CHANGE)
#define ALL_REGS_CHANGED	(NET_CTRL_CHANGED | RX_CTRL_CHANGED | HASH_REGS_CHANGED)
#define	DEFAULT_GPIO_RESET	0x24
#define	LINKSYS_GPIO_RESET	0x24
#define	DEFAULT_GPIO_SET	0x26

#define	RX_PASS_MULTICAST	8
#define	RX_PROMISCUOUS		2

#define	REG_TIMEOUT		(HZ)
#define	DM9601_TX_TIMEOUT	(HZ*10)

#define	TX_UNDERRUN		0x80
#define	EXCESSIVE_COL		0x40
#define	LATE_COL		0x20
#define	NO_CARRIER		0x10
#define	LOSS_CARRIER		0x08
#define	JABBER_TIMEOUT		0x04

#define	DM9601_REQT_READ	0xc0
#define	DM9601_REQ_GET_REGS	0x00
#define	DM9601_REQ_GET_MEMS	0x02

#define	DM9601_REQT_WRITE	0x40
#define	DM9601_REQ_SET_REGS	0x01
#define	DM9601_REQ_SET_REG	0x03
#define	DM9601_REQ_SET_MEMS	0x05
#define	DM9601_REQ_SET_MEM	0x07

#define DM9601_10MHF		0
#define DM9601_100MHF		1
#define DM9601_10MFD		4
#define DM9601_100MFD		5
#define DM9601_AUTO		8
#define DM9601_1M_HPNA		0x10

#define DM9601_REG5		0x30
#define DM9601_REG8		0x27
#define DM9601_REG9		0x38
#define DM9601_REGA		0xff

#define DM9801_NOISE_FLOOR	0x08
#define DM9802_NOISE_FLOOR	0x05

enum DM9601_NIC_TYPE {
	FASTETHER_NIC = 0, HOMERUN_NIC = 1, LONGRUN_NIC = 2 };

enum DM9601_MII_TYPE {
	MII_TYPE_INT = 0, MII_TYPE_EXT = 1 };

#define	ALIGN(x)		x __attribute__((aligned(L1_CACHE_BYTES)))

typedef struct dm9601_board_info {
	struct usb_device	*usb;
	struct net_device	*net;
	struct net_device_stats	stats;
	unsigned long		rx_longf_errors, rx_runtf_errors, rx_lc_errors,
				rx_wdt_errors, rx_ple_errors;
	unsigned		flags;
	unsigned		features;
	int			dev_index;
	int			intr_interval;
	struct urb		ctrl_urb, rx_urb, tx_urb, intr_urb, dump_urb;
	struct usb_ctrlrequest	dr;
	wait_queue_head_t	ctrl_wait;
	struct semaphore	ctrl_sem;
	unsigned char		ALIGN(rx_buff[DM9601_MAX_MTU]);
	unsigned char		ALIGN(rx_buff2[DM9601_MAX_MTU]);
	unsigned char		ALIGN(tx_buff[DM9601_MAX_MTU]);
	unsigned char		ALIGN(intr_buff[8]);
	unsigned char		ALIGN(dump_buff[8]);
	__u16			hash_table[4];
	__u8			rx_ctrl_reg, net_ctrl_reg, reg08, reg09, reg0a;
	__u8			phy;
	__u8			gpio_res;
	__u8			rx_buf_flag;
	__u8			nic_type;
	__u8			op_mode;
} dm9601_board_info_t;


struct usb_eth_dev {
	char	*name;
	__u16	vendor;
	__u16	device;
	__u32	private; /* LSB is gpio reset value */
};


#define VENDOR_ACCTON           0x083a
#define VENDOR_ADMTEK           0x07a6
#define VENDOR_BILLIONTON       0x08dd
#define VENDOR_COREGA           0x07aa
#define VENDOR_DLINK1           0x2001
#define VENDOR_DLINK2           0x07b8
#define VENDOR_IODATA           0x04bb
#define VENDOR_LANEED           0x056e
#define VENDOR_LINKSYS          0x066b
#define VENDOR_MELCO            0x0411
#define VENDOR_SMC              0x0707
#define VENDOR_SOHOWARE         0x15e8


#else	/* DM9601_DEV */


DM9601_DEV( "Accton USB 10/100 Ethernet Adapter", VENDOR_ACCTON, 0x1046,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "ADMtek AN986 \"Pegasus\" USB Ethernet (eval board)",
		VENDOR_ADMTEK, 0x0986,
		DEFAULT_GPIO_RESET | HAS_HOME_PNA )
DM9601_DEV( "Davicom USB-100", 0x0a46, 0x9601,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "Davicom USB-100", 0x3334, 0x1701,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "Billionton USB-100", VENDOR_BILLIONTON, 0x0986,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "Billionton USBLP-100", VENDOR_BILLIONTON, 0x0987,
		DEFAULT_GPIO_RESET | HAS_HOME_PNA )
DM9601_DEV( "Billionton USBEL-100", VENDOR_BILLIONTON, 0x0988,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "Corega FEter USB-TX", VENDOR_COREGA, 0x0004,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "Corega FEter USB-TXC", VENDOR_COREGA, 0x9601, 
		DEFAULT_GPIO_RESET )
DM9601_DEV( "D-Link DSB-650TX", VENDOR_DLINK1, 0x4001,
		LINKSYS_GPIO_RESET )
DM9601_DEV( "D-Link DSB-650TX", VENDOR_DLINK1, 0x4002,
		LINKSYS_GPIO_RESET )
DM9601_DEV( "D-Link DSB-650TX(PNA)", VENDOR_DLINK1, 0x4003,
		DEFAULT_GPIO_RESET | HAS_HOME_PNA )
DM9601_DEV( "D-Link DSB-650", VENDOR_DLINK1, 0xabc1,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "D-Link DU-E10", VENDOR_DLINK2, 0xabc1,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "D-Link DU-E100", VENDOR_DLINK2, 0x4002,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "IO DATA USB ET/TX", VENDOR_IODATA, 0x0904,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "LANEED USB Ethernet LD-USB/TX", VENDOR_LANEED, 0x4002,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "Linksys USB10TX", VENDOR_LINKSYS, 0x2202,
		LINKSYS_GPIO_RESET )
DM9601_DEV( "Linksys USB100TX", VENDOR_LINKSYS, 0x2203,
		LINKSYS_GPIO_RESET )
DM9601_DEV( "Linksys USB100TX", VENDOR_LINKSYS, 0x2204,
		LINKSYS_GPIO_RESET | HAS_HOME_PNA )
DM9601_DEV( "Linksys USB Ethernet Adapter", VENDOR_LINKSYS, 0x2206,
		LINKSYS_GPIO_RESET )
DM9601_DEV( "MELCO/BUFFALO LUA-TX", VENDOR_MELCO, 0x0001,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "SMC 202 USB Ethernet", VENDOR_SMC, 0x0200,
		DEFAULT_GPIO_RESET )
DM9601_DEV( "SOHOware NUB100 Ethernet", 0x0a46, 0x9601,
		DEFAULT_GPIO_RESET )


#endif	/* _DEV */


THERE IS NO DEVICE DEFINITION FOR MY TYPE DRIVER…

PROBABLY I NEED TO ADD:


DM9601_DEV( “SUNRISING USB Ethernet”, 0×0fe6, 0×8101,DEFAULT_GPIO_RESET )

WAITTING FOR YOUR CONCENT