Date: Fri, 8 Apr 2005 10:03:11 +0400 From: Gennady Proskurin <gpr@nvnpp.vrn.ru> To: freebsd-net@freebsd.org Subject: bge hardware vlan Message-ID: <20050408060311.GA22987@relay.nvnpp.vrn.ru>
next in thread | raw e-mail | index | archive | help
Does anyone have bge(4) network card with working hardware vlan support? I have one, and it works with vlans only with the following patch. This is fresh FreeBSD-6-CURRENT, HP workstation xw4100, built-in network card. --- /usr/src/sys/dev/bge/if_bge.c Fri Mar 18 09:14:18 2005 +++ if_bge.c Fri Apr 8 09:38:52 2005 @@ -2393,7 +2393,7 @@ IFQ_SET_READY(&ifp->if_snd); ifp->if_hwassist = BGE_CSUM_FEATURES; /* NB: the code for RX csum offload is disabled for now */ - ifp->if_capabilities = IFCAP_TXCSUM | IFCAP_VLAN_HWTAGGING | + ifp->if_capabilities = IFCAP_TXCSUM | IFCAP_VLAN_MTU; ifp->if_capenable = ifp->if_capabilities; pci5: <ACPI PCI bus> on pcib2 bge0: <Broadcom BCM5782 Gigabit Ethernet, ASIC rev. 0x3003> mem 0xf8400000-0xf840ffff irq 17 at device 2.0 on pci5 miibus0: <MII bus> on bge0 brgphy0: <BCM5705 10/100/1000baseTX PHY> on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:30:6e:b1:e7:d3 -- Gennady
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050408060311.GA22987>