# BUN software configuration 

# These well-known device names are used to create physical ports
# The actual physical port declarations have been moved to 
# atmos/source/hardware/initbun/<file>
# The <file> name included is specified in the hardware file
device : atm_sw  = rfc1483
device : eth_sw  = debug
device : eth_wan_sw  = debug
device : hdlc_sw = debug
device : usb_sw = debug

##################### Following Lines were added for usb device support #######################

device : pc_fake_ether_device = debug, assignmac, chameleon, emu, babel
device : gw_fake_ether_device = debug, assignmac, chameleon, emu, babel

port : join = join
port : usb-ethernet = gw_fake_ether_device / BackingGroup = "link" / NewAttribute = <bool:inside=true>/NewAttribute = <string:icon=usb-slave> /MapPort=usb/MapPortConnected=connected /NewAttribute=<bool:VMI=true> / ClaimSpecificMAC = 2
port : pc-ethernet = pc_fake_ether_device / BackingGroup = "link" / RxMulticastAllEnable=FALSE / ClaimSpecificMAC=3

port : usbctrl = usbctrl/MaxProtocols=2/NewAttribute=<S32:StatusLedConnAct=0>

port : rndis = RNDIS/ControlInterface=<port=usbctrl>/NetworkInterface=pc-ethernet/DataInterface="port=join/RxInterface=<port=usb/EndPoint=2>/TxInterface=<port=usb/EndPoint=3>"/InterruptInterface=usb 
    
port : cdc_ether = CDC_ETHER/NetworkInterface=pc-ethernet/ControlInterface=<port=usbctrl>/DataInterface="port=join/RxInterface=<port=usb/EndPoint=2>/TxInterface=<port=usb/EndPoint=3>"/InterruptInterface=usb

###############################################################################################

