beautypg.com

Datasheet – SMSC LAN9312 User Manual

Page 424

background image

High Performance Two Port 10/100 Managed Ethernet Switch with 32-Bit Non-PCI CPU Interface

Datasheet

Revision 1.4 (08-19-08)

424

SMSC LAN9312

DATASHEET

17:16

Egress Port Type Port 2
These bits set the egress port type which determines the tagging/un-tagging
rules.

R/W

0b

15:14

RESERVED

RO

-

13

Insert Tag Port 1
Identical to Insert Tag Port 2 definition above.

R/W

0b

12

Change VLAN ID Port 1
Identical to Change VLAN ID Port 2 definition above.

R/W

0b

11

Change Priority Port 1
Identical to Change Priority Port 2 definition above.

R/W

0b

10

Change Tag Port 1
Identical to Change Tag Port 2 definition above.

R/W

0b

9:8

Egress Port Type Port 1
Identical to Egress Port Type Port 2 definition above.

R/W

0b

7:6

RESERVED

RO

-

5

Insert Tag Port 0(Host MAC)
Identical to Insert Tag Port 2 definition above.

R/W

0b

4

Change VLAN ID Port 0(Host MAC)
Identical to Change VLAN ID Port 2 definition above.

R/W

0b

3

Change Priority Port 0(Host MAC)
Identical to Change Priority Port 2 definition above.

R/W

0b

2

Change Tag Port 0(Host MAC)
Identical to Change Tag Port 2 definition above.

R/W

0b

1:0

Egress Port Type Port 0(Host MAC)
Identical to Egress Port Type Port 2 definition above.

R/W

0b

BITS

DESCRIPTION

TYPE

DEFAULT

BIT

VALUES

EGRESS PORT TYPE

00

Dumb
Packets from regular ports pass untouched. Special tagged packets from the
Host MAC port have their tagged stripped.

01

Access
Tagged packets (including special tagged packets from the Host MAC port)
have their tagged stripped.

10

Hybrid
Supports a mix of tagging, un-tagging and changing tags. See

Section 6.5.6,

"Adding, Removing, and Changing VLAN Tags," on page 79

for additional

details.

11

CPU
A special tag is added to indicate the source of the packet. See

Section 6.5.6,

"Adding, Removing, and Changing VLAN Tags," on page 79

for additional

details.