[TG3]: Add TG3_FLG2_IS_NIC flag.
authorMichael Chan <mchan@broadcom.com>
Thu, 7 Dec 2006 08:21:14 +0000 (00:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Dec 2006 08:21:14 +0000 (00:21 -0800)
commit9d26e213423923c9e033ccd373705118131827c9
tree182ec37041687479c2e4697463e77a1b195b9d26
parent676917d488212303ce4a7d033815ce8799201010
[TG3]: Add TG3_FLG2_IS_NIC flag.

Add Tg3_FLG2_IS_NIC flag to unambiguously determine whether the
device is NIC or onboard.  Previously, the EEPROM_WRITE_PROT flag was
overloaded to also mean onboard.  With the separation, we can
support some devices that are onboard but do not use eeprom write
protect.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h
include/linux/pci_ids.h