mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-28 02:34:59 +00:00
Merge pull request #528 from roylee123/Add_usb0_NIF_for_wedge100bf
[platform] Add usb0 interface for Accton Wedge100BF
This commit is contained in:
@@ -1946,8 +1946,41 @@ CONFIG_USB_NET_DRIVERS=y
|
||||
# CONFIG_USB_RTL8150 is not set
|
||||
# CONFIG_USB_RTL8152 is not set
|
||||
# CONFIG_USB_LAN78XX is not set
|
||||
# CONFIG_USB_USBNET is not set
|
||||
CONFIG_USB_USBNET=y
|
||||
# CONFIG_USB_NET_AX8817X is not set
|
||||
# CONFIG_USB_NET_AX88179_178A is not set
|
||||
CONFIG_USB_NET_CDCETHER=y
|
||||
# CONFIG_USB_NET_CDC_EEM is not set
|
||||
CONFIG_USB_NET_CDC_NCM=y
|
||||
# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
|
||||
# CONFIG_USB_NET_CDC_MBIM is not set
|
||||
# CONFIG_USB_NET_DM9601 is not set
|
||||
# CONFIG_USB_NET_SR9700 is not set
|
||||
# CONFIG_USB_NET_SR9800 is not set
|
||||
# CONFIG_USB_NET_SMSC75XX is not set
|
||||
# CONFIG_USB_NET_SMSC95XX is not set
|
||||
# CONFIG_USB_NET_GL620A is not set
|
||||
CONFIG_USB_NET_NET1080=y
|
||||
# CONFIG_USB_NET_PLUSB is not set
|
||||
# CONFIG_USB_NET_MCS7830 is not set
|
||||
# CONFIG_USB_NET_RNDIS_HOST is not set
|
||||
CONFIG_USB_NET_CDC_SUBSET_ENABLE=y
|
||||
CONFIG_USB_NET_CDC_SUBSET=y
|
||||
# CONFIG_USB_ALI_M5632 is not set
|
||||
# CONFIG_USB_AN2720 is not set
|
||||
CONFIG_USB_BELKIN=y
|
||||
# CONFIG_USB_ARMLINUX is not set
|
||||
# CONFIG_USB_EPSON2888 is not set
|
||||
# CONFIG_USB_KC2190 is not set
|
||||
CONFIG_USB_NET_ZAURUS=y
|
||||
# CONFIG_USB_NET_CX82310_ETH is not set
|
||||
# CONFIG_USB_NET_KALMIA is not set
|
||||
# CONFIG_USB_NET_QMI_WWAN is not set
|
||||
# CONFIG_USB_NET_INT51X1 is not set
|
||||
# CONFIG_USB_IPHETH is not set
|
||||
# CONFIG_USB_SIERRA_NET is not set
|
||||
# CONFIG_USB_VL600 is not set
|
||||
# CONFIG_USB_NET_CH9200 is not set
|
||||
# CONFIG_WLAN is not set
|
||||
|
||||
#
|
||||
|
||||
@@ -87,5 +87,6 @@ class OnlPlatform_x86_64_accton_wedge100bf_32x_r0(OnlPlatformAccton,
|
||||
subprocess.call('echo port30 > /sys/bus/i2c/devices/30-0050/port_name', shell=True)
|
||||
subprocess.call('echo port31 > /sys/bus/i2c/devices/33-0050/port_name', shell=True)
|
||||
subprocess.call('echo port32 > /sys/bus/i2c/devices/32-0050/port_name', shell=True)
|
||||
subprocess.call('ifconfig usb0 up', shell=True)
|
||||
|
||||
return True
|
||||
|
||||
@@ -159,5 +159,6 @@ class OnlPlatform_x86_64_accton_wedge100bf_65x_r0(OnlPlatformAccton,
|
||||
subprocess.call('echo port62 > /sys/bus/i2c/devices/31-0050/port_name', shell=True)
|
||||
subprocess.call('echo port63 > /sys/bus/i2c/devices/34-0050/port_name', shell=True)
|
||||
subprocess.call('echo port64 > /sys/bus/i2c/devices/33-0050/port_name', shell=True)
|
||||
subprocess.call('ifconfig usb0 up', shell=True)
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user