diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2015-03-01 20:22:28 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2015-03-01 20:22:28 +0000 |
| commit | 7190a55c3e96239380e23b20091e599684fd4e06 (patch) | |
| tree | 08989b9747ac729d8ebdc01f681c7b0b829cf0a4 /sys/dev/etherswitch | |
| parent | 5e252f640282aa4a95ab42b2566b2dc5f9f23aab (diff) | |
Notes
Diffstat (limited to 'sys/dev/etherswitch')
| -rw-r--r-- | sys/dev/etherswitch/arswitch/arswitch_8327.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitch_8327.c b/sys/dev/etherswitch/arswitch/arswitch_8327.c index 3fc2bb02797c..85f2459930cc 100644 --- a/sys/dev/etherswitch/arswitch/arswitch_8327.c +++ b/sys/dev/etherswitch/arswitch/arswitch_8327.c @@ -683,7 +683,7 @@ ar8327_port_init(struct arswitch_softc *sc, int port) t |= AR8X16_PORT_CTRL_STATE_FORWARD << AR8327_PORT_LOOKUP_STATE_S; /* So this allows traffic to any port except ourselves */ - t |= (0x3f & ~(1 << port)); + t |= (0x7f & ~(1 << port)); arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_LOOKUP(port), t); } @@ -736,7 +736,7 @@ ar8327_reset_vlans(struct arswitch_softc *sc) arswitch_writereg(sc->sc_dev, AR8327_REG_PORT_VLAN1(i), t); /* Ports can see other ports */ - t = (0x3f & ~(1 << i)); /* all ports besides us */ + t = (0x7f & ~(1 << i)); /* all ports besides us */ t |= AR8327_PORT_LOOKUP_LEARN; /* in_port_only, forward */ |
