sfc: Expose flash region storing boot code as MTD
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 4 Nov 2008 20:34:28 +0000 (20:34 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 6 Nov 2008 05:49:57 +0000 (00:49 -0500)
commitf41507245ef8b079685aba8da5b5b2b5e87e70bc
treebe8c8aee6a6fc3c69d946dcd3fe24306bf89775e
parent0a95f56323ce93dac354c1b2d54bf959a985cf7d
sfc: Expose flash region storing boot code as MTD

The boot code that appears as a PCI expansion ROM on the SFC4000 is
stored in flash.  Expose this as a standard MTD device to allow for
in-place upgrades.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/sfc/Kconfig
drivers/net/sfc/Makefile
drivers/net/sfc/efx.c
drivers/net/sfc/efx.h
drivers/net/sfc/ethtool.c
drivers/net/sfc/falcon.c
drivers/net/sfc/mtd.c [new file with mode: 0644]
drivers/net/sfc/net_driver.h
drivers/net/sfc/spi.h