/* Updates the MAC registers in the KS8695 device from the address in the net_device structure associated with this interface.  */
static void ks8695_update_mac(struct ks8695_priv *ksp)
/* Updates the MAC registers in the KS8695 device from the address in the net_device structure associated with this interface.  */
static void ks8695_update_mac(struct ks8695_priv *ksp)
{
	struct net_device *ndev = ksp->ndev;
	u32 machigh, maclow;
	maclow	= ((ndev->dev_addr[2] << 24) | (ndev->dev_addr[3] << 16) |
		   (ndev->dev_addr[4] <<  8) | (ndev->dev_addr[5] <<  0));
	machigh = ((ndev->dev_addr[0] <<  8) | (ndev->dev_addr[1] <<  0));
	ks8695_writereg(ksp, KS8695_MAL, maclow);
	ks8695_writereg(ksp, KS8695_MAH, machigh);
}