uboot/include
Bernhard Kaindl d020169298 ne2000: Convert to new net-multi model, fixes build of three boards
This fixes the build of the two sh boards shmin and r7780mp and qemu-mips
which currently fail to build due to dropped pre-CONFIG_NET_MULTI code.

This v2 patch minimizes the number of lines in the diff for easy review
and to eliminate any possible accidential changes resulting from moving
lines of code in the file. This also makes the register function very easy.

Any cleanups and improvements are intentionally deferred to follow-up patches
to keep this patch as simple and as easy to review as possible.

A new driver register function, ne2k_register() calls the existing
one-time setup part of the old init function and calls eth_register().

Changes to shmin, r7780mp and qemu-mips:
- Call the new ne2k_register() from board_eth_init() of the boards.

- Tested using qemu-mips board,
- Tested the two renesas / sh boards r7780mp and shmin to compile again,
  and should work.

checkpatch-clean when "--ignore VOLATILE" is added to .checkpatch.conf,
and no warnings introduced in none of the three boards using this driver.

Signed-off-by: Bernhard Kaindl <bernhard.kaindl@gmx.net>
2011-12-08 22:22:03 +01:00
..
andestech andes_pcu.h: header file of andes_pcu power control unit 2011-11-09 16:35:27 +08:00
asm-generic Add generic gpio.h in asm-generic 2011-10-17 23:56:59 +02:00
bedbug ppc: Fix DBSR_IAx defines in <bedbug/regs.h> 2011-10-09 22:20:44 +02:00
configs MPC850: remove obsolete "rmu" Board 2011-12-08 20:51:39 +01:00
cramfs
faraday ftsdc010: add support of ftsdc010 mmc controller 2011-09-04 18:03:02 -05:00
galileo cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
jffs2
linux nand: Add common functions to linux/mtd/nand.h 2011-12-06 23:59:31 +01:00
lzma
mtd
pcmcia
synopsys dwcddr21mctl: Synopsys DWC DDR2/1 Memory Controller 2011-11-09 16:35:27 +08:00
u-boot
usb
.gitignore tools: logo: split bmp arrays from bmp_logo.h 2011-11-15 23:58:26 +01:00
74xx_7xx.h
ACEX1K.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h lib, vsprintf: introduce strict_strtoul 2011-05-12 21:07:06 +02:00
addr_map.h
ahci.h scsi/ahci: add support for non-PCI controllers 2011-07-26 00:06:58 +02:00
ali512x.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
altera.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
amba_clcd.h
ambapp.h
api_public.h api: export LCD device to external apps 2011-11-15 23:58:27 +01:00
arm925t.h
armcoremodule.h
asm-offsets.h
at45.h
at91rm9200_i2c.h
at91rm9200_net.h
ata.h
atmel_lcdc.h
bcd.h
bcm5221.h
bmp_layout.h
bus_vcxk.h
bzlib.h
circbuf.h
clps7111.h
command.h env: clean cmd_nvedit.c checkpatch and code style 2011-11-22 08:39:25 +01:00
common.h common: move extern char console_buffer[] to common.h 2011-11-22 08:39:25 +01:00
commproc.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
compiler.h Define uintptr_t as long int to simplify printf() format strings 2011-11-22 08:39:24 +01:00
config_cmd_all.h ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
config_cmd_default.h
config_cmd_defaults.h crc32: make command optional 2011-04-13 15:56:43 -04:00
config_defaults.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
config_phylib_all_drivers.h phylib: Enable AR8021 phy support 2011-11-11 07:48:59 -06:00
crc.h
da9030.h
dataflash.h dataflash: fix parameters order in write_dataflash() 2011-11-27 19:46:27 +01:00
ddr_spd.h mpc8xxx: update module_type values from JEDEC DDR3 SPD Specification 2011-11-29 08:48:06 -06:00
div64.h
dm9000.h
dm9161.h
dp83848.h
ds1722.h
ds4510.h
dtt.h hwmon: Provide dtt_init() 2011-10-22 01:22:21 +02:00
e500.h
elf.h
environment.h env: clean env_common.c checkpatch and code style 2011-11-22 08:39:27 +01:00
errno.h
exports.h Standalone Apps: Standalone apps should need only exports.h. 2011-12-06 20:52:35 +01:00
ext2fs.h
fat.h FAT: Add FAT write feature 2011-10-26 21:40:44 +02:00
fdc.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
fdt.h
fdt_support.h Fix constness of the fdt void pointer in fdt_getprop_u32_default 2011-11-13 11:21:34 -05:00
fdtdec.h fdt: add decode helper library 2011-10-26 21:39:40 +02:00
fis.h
flash.h mtd, cfi: introduce void flash_protect_default(void) 2011-04-07 10:20:22 +02:00
fm_eth.h fm-eth: Add ability for board code to disable a port 2011-10-03 08:52:15 -05:00
fpga.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
fsl_diu_fb.h video: Add SHARP LQ084S3LG01 LCD support on P1022DS 2011-08-04 22:55:33 +02:00
fsl_esdhc.h fsl_esdhc: Deal with watermark level register related changes 2011-04-10 11:17:55 -05:00
fsl_mdio.h Minor coding style cleanup. 2011-05-19 22:22:44 +02:00
fsl_nfc.h
fsl_pmic.h misc: pmic: Freescale PMIC switches to generic PMIC driver 2011-10-27 21:56:31 +02:00
gdsys_fpga.h ppc4xx: Add Io64 board support 2011-12-01 09:10:57 +01:00
hush.h common: add run_command2 for running simple or hush commands 2011-10-17 22:25:34 +02:00
hwconfig.h
i2c.h GCC4.6: Squash warning in cmd_date.c 2011-10-27 23:54:08 +02:00
i8042.h
ide.h IDE: fix compiler warnings 2011-04-30 23:29:55 +02:00
image.h image: Implement IH_TYPE_KERNEL_NOLOAD 2011-12-01 09:45:35 +01:00
iomux.h
ioports.h
ipu_pixfmt.h MX5: Make IPU display output and pixel format configurable 2011-10-17 22:25:32 +02:00
keyboard.h
kgdb.h
ks8721.h
lattice.h FPGA: constify Lattice FPGA code 2011-09-05 11:41:42 +02:00
lcd.h PXA: Rename CONFIG_PXA2[57]X to CONFIG_CPU_PXA2[57]X 2011-12-06 23:59:32 +01:00
lcdvideo.h
led-display.h
lh7a40x.h
lh7a400.h
lh7a404.h
libata.h
libfdt.h libfdt: Implement property iteration functions 2011-07-14 21:10:34 -04:00
libfdt_env.h
linux_logo.h
lmb.h
logbuff.h
lpd7a400_cpld.h
lxt971a.h
lynxkdi.h
malloc.h Add assert() for debug assertions 2011-09-10 00:04:01 +02:00
max8998_pmic.h misc:pmic:max8998 MAX8998 support at a new PMIC driver. 2011-10-27 21:56:31 +02:00
mb862xx.h
mc9sdz60.h
mc13892.h MC13892: Add REGMODE0 bits definitions 2011-12-06 23:59:39 +01:00
menu.h common, menu: use abortboot for menu timeout 2011-10-17 22:25:33 +02:00
mg_disk.h
mii_phy.h
miiphy.h Revert "mii: miiphy register address width change" 2011-12-07 08:35:14 +01:00
mk48t59.h
mmc.h mmc: change magic number to macro define 2011-11-03 02:14:58 -05:00
mpc5xx.h
mpc5xxx.h
mpc5xxx_sdma.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h mpc83xx: Cleanup usage of DDR constants 2011-11-03 18:27:55 -05:00
mpc85xx.h powerpc/85xx: introduce and document CONFIG_SYS_CCSRBAR macros 2011-09-29 19:01:04 -05:00
mpc86xx.h powerpc/mpc86xx: Disable translation for BAT setup 2011-10-09 17:57:54 -05:00
mpc106.h
mpc824x.h cleanup: Fix typos and misspellings in various files. 2011-07-28 21:27:36 +02:00
mpc8220.h
mpc8260.h
mpc8260_irq.h
mtd_node.h
mvmfp.h
nand.h nand: Add common functions to linux/mtd/nand.h 2011-12-06 23:59:31 +01:00
net.h net: Make sure IPaddr_t is 32 bits in size 2011-12-06 22:15:32 +01:00
netdev.h ne2000: Convert to new net-multi model, fixes build of three boards 2011-12-08 22:22:03 +01:00
nios2-epcs.h
nios2-io.h
nios2-yanu.h
nios2.h
nomadik.h
ns9750_bbus.h
ns9750_mem.h
ns9750_ser.h
ns9750_sys.h
ns16550.h NS16550: trivial code clean for checkpatch 2011-10-23 20:19:53 +02:00
ns87308.h
onenand_uboot.h OneNAND: Add simple OneNAND SPL 2011-11-15 22:24:50 +01:00
os.h sandbox: put stdin into raw mode 2011-11-03 22:35:21 +01:00
part.h disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
pc_keyb.h
pca953x.h
pca9564.h
pca9698.h gpio: Adapt PCA9698 to standard GPIO API 2011-11-18 14:04:25 +01:00
pci.h powerpc/85xx: Handle PCIe initialization requires for P1021 class SoCs 2011-03-29 07:41:37 -05:00
pci_ids.h drivers: add the support for Silicon Image SATA controller 2011-10-22 01:03:54 +02:00
pcmcia.h
phy.h powerpc/85xx: wait for alignment before resetting SERDES RX lanes (SERDES9) 2011-10-20 16:01:37 -05:00
pmic.h misc:pmic:core New generic PMIC driver 2011-10-27 21:56:31 +02:00
post.h POST: add new memory regions test 2011-10-05 22:03:11 +02:00
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
pwm.h ARM: S5P: pwm driver support 2011-03-27 19:19:54 +02:00
radeon.h
reiserfs.h
rtc.h
s6e63d6.h
s_record.h
sata.h
scsi.h scsi/ahci: add support for non-PCI controllers 2011-07-26 00:06:58 +02:00
sdhci.h mmc: mv_sdhci: Fix host version read for Armada100 2011-11-25 17:43:05 -06:00
search.h env: allow to export only selected variables 2011-11-08 13:20:42 +01:00
sed156x.h
sed13806.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
serial.h serial: constify serial_assign() 2011-12-05 22:48:10 +01:00
sha1.h
sha256.h
sja1000.h
sm501.h Convert ISO-8859 files to UTF-8 2011-08-04 23:34:02 +02:00
smiLynxEM.h
spartan2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
spartan3.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
spd.h
spd_sdram.h
spi.h powerpc: eSPI and eSPI controller support 2011-04-29 07:34:09 -05:00
spi_flash.h sf: unify write funcs 2011-07-26 16:29:27 +02:00
status_led.h sbc82xx: delete support for obsolete SBC8240/SBC8260 2011-10-01 21:57:13 +02:00
stdio_dev.h ARM: drop unsupported 'trab' board 2011-06-22 20:00:51 +02:00
stratixII.h
sym53c8xx.h
systemace.h
timestamp.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
tpm.h Introduce generic TPM support in u-boot 2011-12-07 08:45:51 +01:00
tsec.h tsec: Fix MDIO on devices with eTSEC2 2011-04-29 07:32:48 -05:00
tsi108.h
tsi148.h
twl4030.h
twl6030.h mmc: omap: config VMMC, MMC1_PBIAS 2011-09-30 22:00:55 +02:00
tws.h
ubi_uboot.h common: move BUILD_BUG_ON define to common.h 2011-07-27 23:45:37 +02:00
universe.h
usb.h usb: increase non-bulk timeout for slow chipsets. 2011-08-08 22:34:57 +02:00
usb_cdc_acm.h
usb_defs.h
usb_ether.h Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter 2011-08-08 21:05:23 +02:00
usbdescriptors.h
usbdevice.h
version.h Move timestamp and version files into 'generated' subdir 2011-10-17 23:57:00 +02:00
video.h
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h
video_font.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_font_data.h font: split font data from video_font.h 2011-11-15 23:58:26 +01:00
video_logo.h
virtex2.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
vsc7385.h
vxworks.h
w83c553f.h
watchdog.h
xilinx.h fpga: constify to fix build warning 2011-08-01 15:19:40 +02:00
xyzModem.h