linux/drivers/zorro
Geert Uytterhoeven c293738e6d zorro: Do not allocate zorro_autocon[] statically
Currently the array of Zorro devices is allocated statically, wasting
up to 4.5 KiB when running an Amiga or multi-platform kernel on a machine
with no or a handful of Zorro expansion cards. Convert it to conditional
dynamic memory allocation to fix this.

amiga_parse_bootinfo() still needs to store some information about the
detected Zorro devices, at a time even the bootmem allocator is not yet
available.  This is now handled using a much smaller array (typically less
than 0.5 KiB), which is __initdata and thus freed later.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2013-11-26 11:09:03 +01:00
..
.gitignore m68k: zorro - Add devlist.h and gen-devlist to .gitignore 2009-01-12 20:56:33 +01:00
gen-devlist.c
Kconfig
Makefile
names.c
proc.c zorro: switch to fixed_size_llseek() 2013-06-29 12:57:28 +04:00
zorro-driver.c Drivers: zorro: remove CONFIG_HOTPLUG usage 2013-01-03 15:57:01 -08:00
zorro-sysfs.c sysfs: add struct file* to bin_attr callbacks 2010-05-21 09:37:31 -07:00
zorro.c zorro: Do not allocate zorro_autocon[] statically 2013-11-26 11:09:03 +01:00
zorro.h m68k: zorro - Kill warn_unused_result warnings 2009-01-12 20:56:41 +01:00
zorro.ids misc latin1 to utf8 conversions 2012-01-02 13:04:55 +01:00