# BUN software configuration 
#Set the default number of channels per port to 8 rather than default of 64
#saves about 100KB of SDRAM
system : Channels = 8
# 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
# ix_mod: added qos devices
device : atm_sw  = debug, scheduler, meter, classifier, pppoe, rfc1483
device : eth_sw  = debug, scheduler, meter, classifier
device : hdlc_sw = debug, assignmac, emu
device : usb_sw  = debug

# Product specific software configuration

device : loopback_device = debug, chameleon, loopback
device : pc_fake_ether_device = debug, assignmac, chameleon, emu, babel
device : gw_fake_ether_device = debug, assignmac, chameleon, emu, babel
device : vvb_device = debug, chameleon, vvb

port : loopback = loopback_device / NewAttribute=<bool:PortClassExposedToVvb=true>
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 = 1
port : pc-ethernet = pc_fake_ether_device / BackingGroup = "link" / RxMulticastAllEnable=FALSE / ClaimSpecificMAC=2

# An example of getting the emulated ethernet link speed from the ethernet port
# Other combinations may be specified. See the emu functional spec DO-007796
#port : pc-ethernet = pc_fake_ether_device / MapPort = ethernet1 / MapPortLinkSpeed = LinkSpeed / BackingGroup = "link" / NewAttribute = <bool:PortClassExposedToVvb=true> / NewAttribute = <bool:PortClassGateway=true>

port : usbctrl = usbctrl/MaxProtocols=2 
    
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 

# The pi & qi devices, and the pppoe & q1 ports enable support for 
# multiple PPPoE sessions over a single transport (e.g. an RFC1483 VC)
#device : pi = chameleon, debug, pppoe, pppoe-mux
#device : qi = qInterface
#
#port : q1 = qi /interface=<//bridge/TYPE=PPPOE>
#port : pppoe = pi /interface=<port=q1> /NewAttribute=<bool:Outside=true>

# 802.1x setup (inactive if 802.1x not in build)
port : wlan_filtered = dot1x_f1/interface=<802_11:0>/NewAttribute = <bool:inside=true>/NewAttribute=<bool:VMI=true>/DefaultFilterMulticastOnly=false/DefaultAlwaysAllowMulticast=false/DefaultAlwaysAllowBroadcast=false/DefaultMacAddrOffset=6/NewAttribute=<bool:PortClass802_1x=true>

