/* drivers/net/ethernet/micrel/ks8851.c * * Copyright 2009 Simtec Electronics * http://www.simtec.co.uk/ * Ben Dooks <ben@simtec.co.uk> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt#define DEBUG#include<linux/interrupt.h>#include<linux/module.h>#include<linux/kernel.h>#include<linux/netdevice.h>#include<linux/etherdevice.h>#include<linux/ethtool.h>#include<linux/cache.h>#include<linux/crc32.h>#include<linux/mii.h>#include<linux/eeprom_93cx6.h>#include<linux/regulator/consumer.h>#include<linux/spi/spi.h>#include"ks8851.h"/** * struct ks8851_rxctrl - KS8851 driver rx control * @mchash: Multicast hash-table data. * @rxcr1: KS_RXCR