# BUN configuration file for Gallus 324 pin validation board


# Layer the software devices with the physical devices

device : eth_ip175    = chameleon, eth_sw, bf_ether, unieth 
device : eth_ip101    = chameleon, eth_sw, bf_ether, ip101
device : eth_lan      = chameleon, eth_sw, vmux
device : eth_dmz      = chameleon, eth_sw, vmux
device : atm_turbo    = chameleon, atm_sw, turbo, utopia
device : usb_device   = chameleon, usb_sw, usb

# Create the ports

# Raw ethernet port - opened by the vmux driver below
# This defines:
#  VLAN 1 contains ports 0123 (4 LAN ports)  and 5 (MII port)
#  VLAN 2 continas ports 4 (WAN port)
#port : raw_ethernet = eth_ip175


# Create the ports
# LAN port
# This uses VLAN 1 on the raw_ethernet port
#port : ethernet0 = eth_lan/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=1/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

#port : zcopyethernet0 =eth_ip175/VLANEnabled=true/PVID[0]=2/PVID[1]=2/PVID[2]=2/PVID[3]=3/NumVlans=2/VlanMask[0]=0x17/VlanMask[1]=0x18
# dmz port
# This uses VLAN 2 on the raw_ethernet port.
# Also, tell the vmux driver to mirror the connected attribute from the
# raw_ethernet port, using index 4 of the connected vector attribute.
#port : dmz = eth_dmz/lowerport=<port=raw_ethernet/promiscuousenable=true>/tag=2/NewAttribute=<bool:VMI=true>/MapPort=raw_ethernet/MapPortConnected=Connected/MapPortLinkSpeed=LinkSpeed/MapPortIndex=4


# Create the ports

# Ethernet - LAN port
# Use ip175
port : zcopyethernet0 = eth_ip175/PhysicalPort=0/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

# Use ip101
#port : zcopyethernet0 = eth_ip101/PhyAddress=1/PhysicalPort=0/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>

# DSL port
port : a1 = atm_turbo/PhysicalPort=0/NewAttribute=<bool:outside=true>/NewAttribute=<bool:VMI=true>/ShowtimeLed=3/NewAttribute=<S32:StatusLedConnAct=3>

# Wireless LAN port
# Note that eth_wireless device is created by wireless.hw hardware file
#port : zcopywireless = eth_wireless/NewAttribute=<bool:inside=true>/NewAttribute=<bool:VMI=true>/NewAttribute=<S32:StatusLedConnAct=6>

# USB device port
port : usb = usb_device/Device=0/TraceTxMonitorSize=8/TraceRxMonitorSize=8/NewAttribute=<S32:StatusLedConnAct=6>
