/* Input : pointer to ethernet interface network device structure Output : N/A  */
static void update_hash_table_mac_address(struct armdfec_device *darmdfec, u8 *oaddr, u8 *addr)
/* Input : pointer to ethernet interface network device structure Output : N/A  */
static void update_hash_table_mac_address(struct armdfec_device *darmdfec, u8 *oaddr, u8 *addr)
{
	u32 mach;
	u32 macl;
	if (oaddr) {
		mach = (oaddr[0] << 8) | oaddr[1];
		macl = (oaddr[2] << 24) | (oaddr[3] << 16) |
			(oaddr[4] << 8) | oaddr[5];
		add_del_hash_entry(darmdfec, mach, macl, 1, 0, HASH_DELETE);
	}
	mach = (addr[0] << 8) | addr[1];
	macl = (addr[2] << 24) | (addr[3] << 16) | (addr[4] << 8) | addr[5];
	add_del_hash_entry(darmdfec, mach, macl, 1, 0, HASH_ADD);
}