linux-stable-rt/drivers
Lennert Buytenhek 73566edf9b [MTD] Convert physmap to platform driver
After dwmw2 let me know it ought to be done, I rewrote the physmap map
driver to be a platform driver.  I know zilch about the driver model,
so I probably botched it in some way, but I've done some tests on an
ixp23xx board which uses physmap, and it all seems to work.

In order to not break existing physmap users, I've added some compat
code that will instantiate a platform device iff CONFIG_MTD_PHYSMAP_LEN
is defined and != 0.  Also, I've changed the default value for
CONFIG_MTD_PHYSMAP_LEN to zero, so that people who inadvertently
compile in physmap (or new, platform-style, users of physmap) don't get
burned.

This works pretty well -- the new physmap driver is a drop-in replacement
for the old one, and works on said ixp23xx board without any code changes
needed.  (This should hold as long as users don't touch 'physmap_map'
directly.)

Once all physmap users have been converted to instantiate their own
platform devices, the compat code can go.  (Or we decide that we can
change all the in-tree users at the same time, and never merge the
compat code.)

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
2006-05-07 17:16:36 +01:00
..
acorn
acpi
amba
atm
base
block [PATCH] powerpc: Use check_legacy_ioport() on ppc32 too. 2006-04-28 21:04:55 +10:00
bluetooth
cdrom
char [PATCH] genrtc: fix read on 64-bit platforms 2006-05-01 18:17:47 -07:00
connector
cpufreq
crypto
dio
edac
eisa
fc4
firmware
hwmon
i2c
ide
ieee1394
infiniband IB/ipath: tidy up white space in a few files 2006-05-01 12:14:23 -07:00
input Merge git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2006-05-01 07:48:38 -07:00
isdn
leds
macintosh
mca
md [PATCH] md: Fix 'rdev->nr_pending' count when retrying barrier requests 2006-05-01 18:17:42 -07:00
media
message
mfd
misc
mmc
mtd [MTD] Convert physmap to platform driver 2006-05-07 17:16:36 +01:00
net forcedeth: fix multi irq issues 2006-05-02 15:26:06 -04:00
nubus
oprofile
parisc
parport
pci
pcmcia [PATCH] request_irq(): remove warnings from irq probing 2006-04-28 08:33:46 -07:00
pnp
rapidio
rtc [PATCH] RTC: rtc-dev tweak for 64-bit kernel 2006-05-01 18:17:46 -07:00
s390 [PATCH] s390: fix ipd handling 2006-05-01 18:17:46 -07:00
sbus
scsi [SCSI] advansys driver: limp along on x86 2006-04-29 14:27:13 -07:00
serial [PATCH] ppc32 CPM_UART: Fixed odd address translations 2006-04-28 21:11:33 +10:00
sh
sn [PATCH] Altix: correct ioc3 port order 2006-05-01 18:17:45 -07:00
spi
tc
telephony
usb
video [PATCH] au1200fb: Remove accidentally duplicated content of au1200fb.c 2006-04-29 17:05:11 -07:00
w1
zorro
Kconfig
Makefile