Commit 41c8e56b authored by Philipp Hortmann's avatar Philipp Hortmann Committed by Greg Kroah-Hartman
Browse files

staging: vt6655: Rename MACvReadEtherAddress

parent 06f737ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1722,7 +1722,7 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
	}
	/* initial to reload eeprom */
	MACvInitialize(priv);
	MACvReadEtherAddress(priv->port_offset, priv->abyCurrentNetAddr);
	vt6655_mac_read_ether_addr(priv->port_offset, priv->abyCurrentNetAddr);

	/* Get RFType */
	priv->byRFType = SROMbyReadEmbedded(priv->port_offset, EEP_OFS_RFTYPE);
+1 −1
Original line number Diff line number Diff line
@@ -577,7 +577,7 @@ do { \
	iowrite8(0, iobase + MAC_REG_PAGE1SEL);			\
} while (0)

#define MACvReadEtherAddress(iobase, mac_addr)			\
#define vt6655_mac_read_ether_addr(iobase, mac_addr)		\
do {								\
	iowrite8(1, iobase + MAC_REG_PAGE1SEL);			\
	mac_addr[0] = ioread8(iobase + MAC_REG_PAR0);		\