|
@@ -330,16 +330,6 @@ static void device_init_registers(struct vnt_private *pDevice)
|
|
|
/* zonetype initial */
|
|
|
pDevice->byOriginalZonetype = pDevice->abyEEPROM[EEP_OFS_ZONETYPE];
|
|
|
|
|
|
- /* Get RFType */
|
|
|
- pDevice->byRFType = SROMbyReadEmbedded(pDevice->PortOffset, EEP_OFS_RFTYPE);
|
|
|
-
|
|
|
- /* force change RevID for VT3253 emu */
|
|
|
- if ((pDevice->byRFType & RF_EMU) != 0)
|
|
|
- pDevice->byRevId = 0x80;
|
|
|
-
|
|
|
- pDevice->byRFType &= RF_MASK;
|
|
|
- pr_debug("pDevice->byRFType = %x\n", pDevice->byRFType);
|
|
|
-
|
|
|
if (!pDevice->bZoneRegExist)
|
|
|
pDevice->byZoneType = pDevice->abyEEPROM[EEP_OFS_ZONETYPE];
|
|
|
|
|
@@ -1780,6 +1770,12 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
|
|
|
MACvInitialize(priv->PortOffset);
|
|
|
MACvReadEtherAddress(priv->PortOffset, priv->abyCurrentNetAddr);
|
|
|
|
|
|
+ /* Get RFType */
|
|
|
+ priv->byRFType = SROMbyReadEmbedded(priv->PortOffset, EEP_OFS_RFTYPE);
|
|
|
+ priv->byRFType &= RF_MASK;
|
|
|
+
|
|
|
+ dev_dbg(&pcid->dev, "RF Type = %x\n", priv->byRFType);
|
|
|
+
|
|
|
device_get_options(priv);
|
|
|
device_set_options(priv);
|
|
|
/* Mask out the options cannot be set to the chip */
|