Skip to content

m68k: amiga - device model patches

Geert Uytterhoeven linux-ide linux-m68k linux-scsi lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14platform: Make platform resource input parameters constdrivers/base/platform.c include/linux/platform_device.h+6 -40 replies
2/14m68k: amiga - Zorro bus modalias supportdrivers/net/a2065.c drivers/net/ariadne.c drivers/net/hydra.c +9 more+68 -120 replies
3/14m68k: amiga - Zorro host bridge platform device conversionarch/m68k/amiga/Makefile arch/m68k/amiga/platform.c drivers/zorro/proc.c +2 more+190 -1280 replies
4/14m68k: amiga - Frame buffer platform device conversionarch/m68k/amiga/platform.c drivers/video/amifb.c+46 -180 replies
5/14m68k: amiga - Sound platform device conversionarch/m68k/amiga/platform.c sound/oss/dmasound/dmasound_paula.c+36 -200 replies
6/14m68k: amiga - Floppy platform device conversionarch/m68k/amiga/platform.c drivers/block/amiflop.c+26 -260 replies
7/14m68k: amiga - A3000 SCSI platform device conversionarch/m68k/amiga/platform.c drivers/scsi/a3000.c+111 -640 replies
8/14m68k: amiga - A4000T SCSI platform device conversionarch/m68k/amiga/platform.c drivers/scsi/a4000t.c+57 -550 replies
9/14m68k: amiga - Amiga Gayle IDE platform device conversionarch/m68k/amiga/platform.c arch/m68k/include/asm/amigayle.h drivers/ide/gayle.c+153 -661 reply
10/14m68k: amiga - Keyboard platform device conversionarch/m68k/amiga/platform.c drivers/input/keyboard/amikbd.c+63 -390 replies
11/14m68k: amiga - Mouse platform device conversionarch/m68k/amiga/platform.c drivers/input/mouse/amimouse.c+66 -350 replies
12/14m68k: amiga - Serial port platform device conversionarch/m68k/amiga/platform.c drivers/char/amiserial.c+38 -260 replies
13/14m68k: amiga - Parallel port platform device conversionarch/m68k/amiga/platform.c drivers/parport/parport_amiga.c+43 -240 replies
14/14m68k: amiga - RTC platform device conversionarch/m68k/amiga/config.c arch/m68k/amiga/platform.c+17 -1740 replies

Reviews trailers per patch

1 of 14 patches has a Reviewed-by or Acked-by.

PatchGreg Kroah-Hartman
1/14A-b
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] m68k: amiga - device model patches

This set of patches brings Amiga hardware support better in line with the Linux device model:
- Add module alias support for Zorro drivers (not all drivers can benefit from this yet though, as some still use zorro_find_device() instead of struct zorro_driver),
- Convert the various builtin Amiga hardware to the platform driver framework.

[01] platform: Make platform resources input parameters const
[02] m68k: amiga - Zorro bus modalias support
[03] m68k: amiga - Zorro host bridge platform device conversion
[04] m68k: amiga - Frame buffer platform device conversion
[05] m68k: amiga - Sound platform device conversion
[06] m68k: amiga - Floppy platform device conversion
[07] m68k: amiga - A3000 SCSI platform device conversion
[08] m68k: amiga - A4000T SCSI platform device conversion
[09] m68k: amiga - Amiga Gayle IDE platform device conversion
[10] m68k: amiga - Keyboard platform device conversion
[11] m68k: amiga - Mouse platform device conversion
[12] m68k: amiga - Serial port platform device conversion
[13] m68k: amiga - Parallel port platform device conversion
[14] rtc: Add an RTC driver for the Oki MSM6242
[15] rtc: Add an RTC driver for the Ricoh RP5C01
[16] m68k: amiga - RTC platform device conversion

It's a respin of the RFC I sent one year ago. The only real change is to the A3000 SCSI platform device conversion patch, which now depends on the wd33c93 driver cleanups patches I sent 2.5 weeks ago.

Due to lack of hardware (only Amiga 4000 here), I couldn't test all drivers. Especially the SCSI drivers could use some testing feedback.
The changes to most other drivers are fairly trivial.
Note that I removed all request_mem_region() calls for subregions of the Amiga custom chips, as the drivers now bind to the platform device.

If no one objects, I'm gonna apply all of this.

Thx!

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds