summaryrefslogtreecommitdiff
path: root/doc/driver-model
diff options
context:
space:
mode:
Diffstat (limited to 'doc/driver-model')
-rw-r--r--doc/driver-model/UDM-block.txt56
-rw-r--r--doc/driver-model/UDM-gpio.txt32
-rw-r--r--doc/driver-model/UDM-hwmon.txt36
-rw-r--r--doc/driver-model/UDM-keyboard.txt12
-rw-r--r--doc/driver-model/UDM-mmc.txt72
-rw-r--r--doc/driver-model/UDM-net.txt216
-rw-r--r--doc/driver-model/UDM-pci.txt124
-rw-r--r--doc/driver-model/UDM-pcmcia.txt24
-rw-r--r--doc/driver-model/UDM-power.txt12
-rw-r--r--doc/driver-model/UDM-rtc.txt152
-rw-r--r--doc/driver-model/UDM-serial.txt108
-rw-r--r--doc/driver-model/UDM-spi.txt96
-rw-r--r--doc/driver-model/UDM-stdio.txt16
-rw-r--r--doc/driver-model/UDM-twserial.txt4
-rw-r--r--doc/driver-model/UDM-video.txt24
-rw-r--r--doc/driver-model/UDM-watchdog.txt204
16 files changed, 594 insertions, 594 deletions
diff --git a/doc/driver-model/UDM-block.txt b/doc/driver-model/UDM-block.txt
index ffbbdf3..0437d9b 100644
--- a/doc/driver-model/UDM-block.txt
+++ b/doc/driver-model/UDM-block.txt
@@ -221,58 +221,58 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) ahci.c
- ---------
+ ahci.c
+ ------
SCSI API, will be rewritten for a different API.
- 2) ata_piix.c
- -------------
+ ata_piix.c
+ ----------
SATA API, easy to port.
- 3) fsl_sata.c
- -------------
+ fsl_sata.c
+ ----------
SATA API, few CONFIG macros, easy to port.
- 4) ftide020.c
- -------------
+ ftide020.c
+ ----------
IDE API, defines CONFIG_IDE_AHB and ide_preinit hook functions.
- 5) mg_disk.c
- ------------
+ mg_disk.c
+ ---------
Single driver with mg_disk API, not much to change, easy to port.
- 6) mvsata_ide.c
- ---------------
+ mvsata_ide.c
+ ------------
IDE API, only defines ide_preinit hook function.
- 7) mxc_ata.c
- ------------
+ mxc_ata.c
+ ---------
IDE API, only defines ide_preinit hook function.
- 8) pata_bfin.c
- --------------
+ pata_bfin.c
+ -----------
SATA API, easy to port.
- 9) sata_dwc.c
- -------------
+ sata_dwc.c
+ ----------
SATA API, easy to port.
- 10) sata_sil3114.c
- ------------------
+ sata_sil3114.c
+ --------------
SATA API, easy to port.
- 11) sata_sil.c
- --------------
+ sata_sil.c
+ ----------
SATA API, easy to port.
- 12) sil680.c
- ------------
+ sil680.c
+ --------
IDE API, only defines ide_preinit hook function.
- 13) sym53c8xx.c
- ---------------
+ sym53c8xx.c
+ -----------
SCSI API, may be merged with code from cmd_scsi.
- 14) systemace.c
- ---------------
+ systemace.c
+ -----------
Single driver with systemace API, not much to change, easy to port.
diff --git a/doc/driver-model/UDM-gpio.txt b/doc/driver-model/UDM-gpio.txt
index 87554dd..585d458 100644
--- a/doc/driver-model/UDM-gpio.txt
+++ b/doc/driver-model/UDM-gpio.txt
@@ -68,39 +68,39 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) altera_pio.c
- ---------------
+ altera_pio.c
+ ------------
Meets standard API. Implements gpio_request() properly. Simple conversion
possible.
- 2) at91_gpio.c
- --------------
+ at91_gpio.c
+ -----------
Don't meet standard API. Need some other methods to implement.
- 3) da8xx_gpio.c
- ---------------
+ da8xx_gpio.c
+ ------------
Meets standard API. Implements gpio_request() properly. Simple conversion
possible.
- 4) kw_gpio.c
- ------------
+ kw_gpio.c
+ ---------
Doesn't meet standard API. Needs some other methods to implement and move some
methods to another file.
- 5) mpc83xx_gpio.c
- -----------------
+ mpc83xx_gpio.c
+ --------------
Meets standard API. Doesn't implement gpio_request() properly (only checks
if the pin is valid). Simple conversion possible.
- 6) mvgpio.c
- -----------
+ mvgpio.c
+ --------
Meets standard API. Doesn't implement gpio_request() properly (only checks
if the pin is valid). Simple conversion possible.
- 7) mvgpio.h
- -----------
+ mvgpio.h
+ --------
Wrong placement. Will be moved to another location.
- 8) mvmfp.c
- ----------
+ mvmfp.c
+ -------
Wrong placement. Will be moved to another location.
diff --git a/doc/driver-model/UDM-hwmon.txt b/doc/driver-model/UDM-hwmon.txt
index 9048cc0..03a96a0 100644
--- a/doc/driver-model/UDM-hwmon.txt
+++ b/doc/driver-model/UDM-hwmon.txt
@@ -71,48 +71,48 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) drivers/hwmon/lm81.c
- -----------------------
+ drivers/hwmon/lm81.c
+ --------------------
The driver is standard dtt. Simple conversion is possible.
- 2) drivers/hwmon/ds1722.c
- -------------------------
+ drivers/hwmon/ds1722.c
+ ----------------------
The driver is not standard dtt, but interface is similar to dtt.
The interface has to be changed in order to comply to above mentioned
specification.
- 3) drivers/hwmon/ds1775.c
- -------------------------
+ drivers/hwmon/ds1775.c
+ ----------------------
The driver is standard dtt. Simple conversion is possible.
- 4) drivers/hwmon/lm73.c
- -----------------------
+ drivers/hwmon/lm73.c
+ --------------------
The driver is standard dtt. Simple conversion is possible.
- 5) drivers/hwmon/lm63.c
- -----------------------
+ drivers/hwmon/lm63.c
+ --------------------
The driver is standard dtt. Simple conversion is possible.
- 6) drivers/hwmon/adt7460.c
- --------------------------
+ drivers/hwmon/adt7460.c
+ -----------------------
The driver is standard dtt. Simple conversion is possible.
- 7) drivers/hwmon/lm75.c
- -----------------------
+ drivers/hwmon/lm75.c
+ --------------------
The driver is standard dtt. Simple conversion is possible.
- 8) drivers/hwmon/ds1621.c
- -------------------------
+ drivers/hwmon/ds1621.c
+ ----------------------
The driver is standard dtt. Simple conversion is possible.
- 9) drivers/hwmon/adm1021.c
- --------------------------
+ drivers/hwmon/adm1021.c
+ -----------------------
The driver is standard dtt. Simple conversion is possible.
diff --git a/doc/driver-model/UDM-keyboard.txt b/doc/driver-model/UDM-keyboard.txt
index ef3761d..5babfc5 100644
--- a/doc/driver-model/UDM-keyboard.txt
+++ b/doc/driver-model/UDM-keyboard.txt
@@ -28,18 +28,18 @@ be converted into driver's private data.
III) Analysis of in-tree drivers
--------------------------------
- 1) board/mpl/common/kbd.c
- -------------------------
+ board/mpl/common/kbd.c
+ ----------------------
This driver is a classic STDIO driver, no problem with conversion is expected.
Only necessary change will be to move this driver to a proper location.
- 2) board/rbc823/kbd.c
- ---------------------
+ board/rbc823/kbd.c
+ ------------------
This driver is a classic STDIO driver, no problem with conversion is expected.
Only necessary change will be to move this driver to a proper location.
- 3) drivers/input/keyboard.c
- ---------------------------
+ drivers/input/keyboard.c
+ ------------------------
This driver is special in many ways. Firstly because this is a universal stub
driver for converting scancodes from i8042 and the likes. Secondly because the
buffer is filled by various other ad-hoc implementations of keyboard input by
diff --git a/doc/driver-model/UDM-mmc.txt b/doc/driver-model/UDM-mmc.txt
index 1f07d87..97f83a7 100644
--- a/doc/driver-model/UDM-mmc.txt
+++ b/doc/driver-model/UDM-mmc.txt
@@ -220,100 +220,100 @@ As for the legacy drivers, these will either be converted or removed altogether.
III) Analysis of in-tree drivers
--------------------------------
- 1) arm_pl180_mmci.c
- -------------------
+ arm_pl180_mmci.c
+ ----------------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 2) atmel_mci.c
- --------------
+ atmel_mci.c
+ -----------
This driver uses the legacy API and should be removed unless converted. It is
probably possbible to replace this driver with gen_atmel_mci.c . No conversion
will be done on this driver.
- 3) bfin_sdh.c
- -------------
+ bfin_sdh.c
+ ----------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 4) davinci_mmc.c
- ----------------
+ davinci_mmc.c
+ -------------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 5) fsl_esdhc.c
- --------------
+ fsl_esdhc.c
+ -----------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple, unless some problem appears due to the FDT
component of the driver.
- 6) ftsdc010_esdhc.c
- -------------------
+ ftsdc010_esdhc.c
+ ----------------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 7) gen_atmel_mci.c
- ------------------
+ gen_atmel_mci.c
+ ---------------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 8) mmc_spi.c
- ------------
+ mmc_spi.c
+ ---------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 9) mv_sdhci.c
- -------------
+ mv_sdhci.c
+ ----------
This is a component of the SDHCI support, allowing it to run on Marvell
Kirkwood chip. It is probable the SDHCI support will have to be modified to
allow calling functions from this file based on information passed via
platform_data.
- 10) mxcmmc.c
- ------------
+ mxcmmc.c
+ --------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 11) mxsmmc.c
- ------------
+ mxsmmc.c
+ --------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 12) omap_hsmmc.c
- ----------------
+ omap_hsmmc.c
+ ------------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 13) pxa_mmc.c
- -------------
+ pxa_mmc.c
+ ---------
This driver uses the legacy API and is written in a severely ad-hoc manner.
This driver will be removed in favor of pxa_mmc_gen.c, which is proved to work
better and is already well tested. No conversion will be done on this driver
anymore.
- 14) pxa_mmc_gen.c
- -----------------
+ pxa_mmc_gen.c
+ -------------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 15) s5p_mmc.c
- -------------
+ s5p_mmc.c
+ ---------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 16) sdhci.c
- -----------
+ sdhci.c
+ -------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple, though it'd be necessary to modify this driver
to also support the Kirkwood series and probably also Tegra series of CPUs.
See the respective parts of this section for details.
- 17) sh_mmcif.c
- --------------
+ sh_mmcif.c
+ ----------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
- 18) tegra2_mmc.c
- ----------------
+ tegra2_mmc.c
+ ------------
Follows the new API and also has a good encapsulation of the whole driver. The
conversion here will be simple.
diff --git a/doc/driver-model/UDM-net.txt b/doc/driver-model/UDM-net.txt
index e2ea8f5..ef80964 100644
--- a/doc/driver-model/UDM-net.txt
+++ b/doc/driver-model/UDM-net.txt
@@ -108,327 +108,327 @@ replacement of per-driver initialization functions and removal of
III) Analysis of in-tree drivers
--------------------------------
- 1) drivers/net/4xx_enet.c
- -------------------------
+ drivers/net/4xx_enet.c
+ ----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 2) drivers/net/altera_tse.c
- ---------------------------
+ drivers/net/altera_tse.c
+ ------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 3) drivers/net/armada100_fec.c
- ------------------------------
+ drivers/net/armada100_fec.c
+ ---------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 4) drivers/net/at91_emac.c
- --------------------------
+ drivers/net/at91_emac.c
+ -----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 5) drivers/net/ax88180.c
- ------------------------
+ drivers/net/ax88180.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 6) drivers/net/ax88796.c
- ------------------------
+ drivers/net/ax88796.c
+ ---------------------
This file contains a components of the NE2000 driver, implementing only
different parts on the NE2000 clone AX88796. This being no standalone driver,
no conversion will be done here.
- 7) drivers/net/bfin_mac.c
- -------------------------
+ drivers/net/bfin_mac.c
+ ----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 8) drivers/net/calxedaxgmac.c
- -----------------------------
+ drivers/net/calxedaxgmac.c
+ --------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 9) drivers/net/cs8900.c
- -----------------------
+ drivers/net/cs8900.c
+ --------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 10) drivers/net/davinci_emac.c
- ------------------------------
+ drivers/net/davinci_emac.c
+ --------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 11) drivers/net/dc2114x.c
- -------------------------
+ drivers/net/dc2114x.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 12) drivers/net/designware.c
- ----------------------------
+ drivers/net/designware.c
+ ------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 13) drivers/net/dm9000x.c
- -------------------------
+ drivers/net/dm9000x.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 14) drivers/net/dnet.c
- ----------------------
+ drivers/net/dnet.c
+ ------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 15) drivers/net/e1000.c
- -----------------------
+ drivers/net/e1000.c
+ -------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 16) drivers/net/e1000_spi.c
- ---------------------------
+ drivers/net/e1000_spi.c
+ -----------------------
Driver for the SPI bus integrated on the Intel E1000. This is not part of the
network stack.
- 17) drivers/net/eepro100.c
- --------------------------
+ drivers/net/eepro100.c
+ ----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 18) drivers/net/enc28j60.c
- --------------------------
+ drivers/net/enc28j60.c
+ ----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 19) drivers/net/ep93xx_eth.c
- ----------------------------
+ drivers/net/ep93xx_eth.c
+ ------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 20) drivers/net/ethoc.c
- -----------------------
+ drivers/net/ethoc.c
+ -------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 21) drivers/net/fec_mxc.c
- -------------------------
+ drivers/net/fec_mxc.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 22) drivers/net/fsl_mcdmafec.c
- ------------------------------
+ drivers/net/fsl_mcdmafec.c
+ --------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 23) drivers/net/fsl_mdio.c
- --------------------------
+ drivers/net/fsl_mdio.c
+ ----------------------
This file contains driver for FSL MDIO interface, which is not part of the
networking stack.
- 24) drivers/net/ftgmac100.c
- ---------------------------
+ drivers/net/ftgmac100.c
+ -----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 25) drivers/net/ftmac100.c
- --------------------------
+ drivers/net/ftmac100.c
+ ----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 26) drivers/net/greth.c
- -----------------------
+ drivers/net/greth.c
+ -------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 27) drivers/net/inca-ip_sw.c
- ----------------------------
+ drivers/net/inca-ip_sw.c
+ ------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 28) drivers/net/ks8695eth.c
- ---------------------------
+ drivers/net/ks8695eth.c
+ -----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 29) drivers/net/lan91c96.c
- --------------------------
+ drivers/net/lan91c96.c
+ ----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 30) drivers/net/macb.c
- ----------------------
+ drivers/net/macb.c
+ ------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 31) drivers/net/mcffec.c
- ------------------------
+ drivers/net/mcffec.c
+ --------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 32) drivers/net/mcfmii.c
- ------------------------
+ drivers/net/mcfmii.c
+ --------------------
This file contains MII interface driver for MCF FEC.
- 33) drivers/net/mpc512x_fec.c
- -----------------------------
+ drivers/net/mpc512x_fec.c
+ -------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 34) drivers/net/mpc5xxx_fec.c
- -----------------------------
+ drivers/net/mpc5xxx_fec.c
+ -------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 35) drivers/net/mvgbe.c
- -----------------------
+ drivers/net/mvgbe.c
+ -------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 36) drivers/net/natsemi.c
- -------------------------
+ drivers/net/natsemi.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 37) drivers/net/ne2000_base.c
- -----------------------------
+ drivers/net/ne2000_base.c
+ -------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process. This driver contains the core
implementation of NE2000, which needs a few external functions, implemented by
AX88796, NE2000 etc.
- 38) drivers/net/ne2000.c
- ------------------------
+ drivers/net/ne2000.c
+ --------------------
This file implements external functions necessary for native NE2000 compatible
networking card to work.
- 39) drivers/net/netarm_eth.c
- ----------------------------
+ drivers/net/netarm_eth.c
+ ------------------------
This driver uses the old, legacy, network API and will either have to be
converted or removed.
- 40) drivers/net/netconsole.c
- ----------------------------
+ drivers/net/netconsole.c
+ ------------------------
This is actually an STDIO driver.
- 41) drivers/net/ns8382x.c
- -------------------------
+ drivers/net/ns8382x.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 42) drivers/net/pcnet.c
- -----------------------
+ drivers/net/pcnet.c
+ -------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 43) drivers/net/plb2800_eth.c
- -----------------------------
+ drivers/net/plb2800_eth.c
+ -------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 44) drivers/net/rtl8139.c
- -------------------------
+ drivers/net/rtl8139.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 45) drivers/net/rtl8169.c
- -------------------------
+ drivers/net/rtl8169.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 46) drivers/net/sh_eth.c
- ------------------------
+ drivers/net/sh_eth.c
+ --------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 47) drivers/net/smc91111.c
- --------------------------
+ drivers/net/smc91111.c
+ ----------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 48) drivers/net/smc911x.c
- -------------------------
+ drivers/net/smc911x.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 49) drivers/net/tsec.c
- ----------------------
+ drivers/net/tsec.c
+ ------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 50) drivers/net/tsi108_eth.c
- ----------------------------
+ drivers/net/tsi108_eth.c
+ ------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 51) drivers/net/uli526x.c
- -------------------------
+ drivers/net/uli526x.c
+ ---------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 52) drivers/net/vsc7385.c
- -------------------------
+ drivers/net/vsc7385.c
+ ---------------------
This is a driver that only uploads firmware to a switch. This is not subject
of conversion.
- 53) drivers/net/xilinx_axi_emac.c
- ---------------------------------
+ drivers/net/xilinx_axi_emac.c
+ -----------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
- 54) drivers/net/xilinx_emaclite.c
- ---------------------------------
+ drivers/net/xilinx_emaclite.c
+ -----------------------------
This driver uses the standard new networking API, therefore there should be no
obstacles throughout the conversion process.
diff --git a/doc/driver-model/UDM-pci.txt b/doc/driver-model/UDM-pci.txt
index 6a592b3..059a432 100644
--- a/doc/driver-model/UDM-pci.txt
+++ b/doc/driver-model/UDM-pci.txt
@@ -120,136 +120,136 @@ III) Analysis of in-tree drivers
A) drivers in drivers/pci/
--------------------------
- 1) pci_indirect.c
- -----------------
+ pci_indirect.c
+ --------------
Shared driver for indirect PCI bridges, several CONFIG macros - will
require significant cleanup.
- 2) pci_ixp.c
- ------------
+ pci_ixp.c
+ ---------
Standard driver, specifies all read/write functions separately.
- 3) pci_sh4.c
- ------------
+ pci_sh4.c
+ ---------
Shared init function for SH4 drivers, uses dword for read/write ops.
- 4) pci_sh7751.c
- ---------------
+ pci_sh7751.c
+ ------------
Standard driver, uses SH4 shared init.
- 5) pci_sh7780.c
- ---------------
+ pci_sh7780.c
+ ------------
Standard driver, uses SH4 shared init.
- 6) tsi108_pci.c
- ---------------
+ tsi108_pci.c
+ ------------
Standard driver, uses dword for read/write ops.
- 7) fsl_pci_init.c
- -----------------
+ fsl_pci_init.c
+ --------------
Driver for PCI and PCI-e, uses indirect functions.
- 8) pci_ftpci100.c
- -----------------
+ pci_ftpci100.c
+ --------------
Standard driver, uses indirect functions, has separate scan/setup
functions.
B) driver in arch/
------------------
- 1) x86/lib/pci_type1.c
- ----------------------
+ x86/lib/pci_type1.c
+ -------------------
Standard driver, specifies all read/write functions separately.
- 2) m68k/cpu/mcf5445x/pci.c
- --------------------------
+ m68k/cpu/mcf5445x/pci.c
+ -----------------------
Standard driver, specifies all read/write functions separately.
- 3) m68k/cpu/mcf547x_8x/pci.c
- ----------------------------
+ m68k/cpu/mcf547x_8x/pci.c
+ -------------------------
Standard driver, specifies all read/write functions separately.
- 4) powerpc/cpu/mpc824x/pci.c
- ----------------------------
+ powerpc/cpu/mpc824x/pci.c
+ -------------------------
Standard driver, uses indirect functions, does not setup HW.
- 5) powerpc/cpu/mpc8260/pci.c
- ----------------------------
+ powerpc/cpu/mpc8260/pci.c
+ -------------------------
Standard driver, uses indirect functions.
- 6) powerpc/cpu/ppc4xx/4xx_pci.c
- -------------------------------
+ powerpc/cpu/ppc4xx/4xx_pci.c
+ ----------------------------
Standard driver, uses indirect functions.
- 7) powerpc/cpu/ppc4xx/4xx_pcie.c
- --------------------------------
+ powerpc/cpu/ppc4xx/4xx_pcie.c
+ -----------------------------
PCI-e driver, specifies all read/write functions separately.
- 8) powerpc/cpu/mpc83xx/pci.c
- ----------------------------
+ powerpc/cpu/mpc83xx/pci.c
+ -------------------------
Standard driver, uses indirect functions.
- 9) powerpc/cpu/mpc83xx/pcie.c
- -----------------------------
+ powerpc/cpu/mpc83xx/pcie.c
+ --------------------------
PCI-e driver, specifies all read/write functions separately.
- 10) powerpc/cpu/mpc5xxx/pci_mpc5200.c
- -------------------------------------
+ powerpc/cpu/mpc5xxx/pci_mpc5200.c
+ ---------------------------------
Standard driver, uses dword for read/write ops.
- 11) powerpc/cpu/mpc512x/pci.c
- -----------------------------
+ powerpc/cpu/mpc512x/pci.c
+ -------------------------
Standard driver, uses indirect functions.
- 12) powerpc/cpu/mpc85xx/pci.c
- -----------------------------
+ powerpc/cpu/mpc85xx/pci.c
+ -------------------------
Standard driver, uses indirect functions, has two busses.
C) drivers in board/
--------------------
- 1) eltec/elppc/pci.c
- --------------------
+ eltec/elppc/pci.c
+ -----------------
Standard driver, uses indirect functions.
- 2) amirix/ap1000/pci.c
- ----------------------
+ amirix/ap1000/pci.c
+ -------------------
Standard driver, specifies all read/write functions separately.
- 3) prodrive/p3mx/pci.c
- ----------------------
+ prodrive/p3mx/pci.c
+ -------------------
Standard driver, uses dword for read/write ops, has two busses.
- 4) esd/cpci750/pci.c
- --------------------
+ esd/cpci750/pci.c
+ -----------------
Standard driver, uses dword for read/write ops, has two busses.
- 5) esd/common/pci.c
- -------------------
+ esd/common/pci.c
+ ----------------
Standard driver, uses dword for read/write ops.
- 6) dave/common/pci.c
- --------------------
+ dave/common/pci.c
+ -----------------
Standard driver, uses dword for read/write ops.
- 7) ppmc7xx/pci.c
- ----------------
+ ppmc7xx/pci.c
+ -------------
Standard driver, uses indirect functions.
- 9) Marvell/db64360/pci.c
- ------------------------
+ Marvell/db64360/pci.c
+ ---------------------
Standard driver, uses dword for read/write ops, has two busses.
- 10) Marvell/db64460/pci.c
- -------------------------
+ Marvell/db64460/pci.c
+ ---------------------
Standard driver, uses dword for read/write ops, has two busses.
- 11) evb64260/pci.c
- ------------------
+ evb64260/pci.c
+ --------------
Standard driver, uses dword for read/write ops, has two busses.
- 12) armltd/integrator/pci.c
- ---------------------------
+ armltd/integrator/pci.c
+ -----------------------
Standard driver, specifies all read/write functions separately.
All drivers will be moved to drivers/pci. Several drivers seem
diff --git a/doc/driver-model/UDM-pcmcia.txt b/doc/driver-model/UDM-pcmcia.txt
index fc31461..d55e89d 100644
--- a/doc/driver-model/UDM-pcmcia.txt
+++ b/doc/driver-model/UDM-pcmcia.txt
@@ -47,32 +47,32 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) i82365.c
- -----------
+ i82365.c
+ --------
Driver methods have different name i82365_init() and i82365_exit but
all functionality is the same. Board files board/atc/ti113x.c and
board/cpc45/pd67290.c use their own implementation of these method.
In this case all methods in driver behave only as wrappers.
- 2) marubun_pcmcia.c
- -------------------
+ marubun_pcmcia.c
+ ----------------
Meets standard API behaviour. Simple conversion.
- 3) mpc8xx_pcmcia.c
- ------------------
+ mpc8xx_pcmcia.c
+ ---------------
Meets standard API behaviour. Simple conversion.
- 4) rpx_pcmcia.c
- ---------------
+ rpx_pcmcia.c
+ ------------
Implements only internal API used in other drivers. Non of methods
implemented here are used outside driver model.
- 5) ti_pci1410a.c
- ----------------
+ ti_pci1410a.c
+ -------------
Has different API but methods in this file are never called. Probably
dead code.
- 6)tqm8xx_pcmcia.c
- -----------------
+ tqm8xx_pcmcia.c
+ ---------------
Implements only internal API used in other drivers. Non of methods
implemented here are used outside driver model.
diff --git a/doc/driver-model/UDM-power.txt b/doc/driver-model/UDM-power.txt
index 015c773..666d553 100644
--- a/doc/driver-model/UDM-power.txt
+++ b/doc/driver-model/UDM-power.txt
@@ -52,8 +52,8 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) ftpmu010.c
- -------------
+ ftpmu010.c
+ ----------
All methods of this file are moved to another location.
void ftpmu010_32768osc_enable(void): Move to boards hacks
void ftpmu010_mfpsr_select_dev(unsigned int dev): Move to board file
@@ -65,8 +65,8 @@ III) Analysis of in-tree drivers
void ftpmu010_sdramhtc_set(unsigned int val): Move to board file
arch/nds32/lib/board.c
- 2) twl4030.c
- ------------
+ twl4030.c
+ ---------
All methods of this file are moved to another location.
void twl4030_power_reset_init(void): Move to board hacks
void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val, u8 dev_grp,
@@ -74,8 +74,8 @@ III) Analysis of in-tree drivers
void twl4030_power_init(void): Move to board hacks
void twl4030_power_mmc_init(void): Move to board hacks
- 3) twl6030.c
- ------------
+ twl6030.c
+ ---------
Some methods are converted to new API and rest are moved to another location.
void twl6030_stop_usb_charging(void): Convert to new API
void twl6030_start_usb_charging(void): Convert to new API
diff --git a/doc/driver-model/UDM-rtc.txt b/doc/driver-model/UDM-rtc.txt
index 8391f38..3640d24 100644
--- a/doc/driver-model/UDM-rtc.txt
+++ b/doc/driver-model/UDM-rtc.txt
@@ -62,192 +62,192 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) drivers/rtc/rv3029.c
- -----------------------
+ drivers/rtc/rv3029.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 2) drivers/rtc/s3c24x0_rtc.c
- ----------------------------
+ drivers/rtc/s3c24x0_rtc.c
+ -------------------------
The driver is standard rtc. Simple conversion is possible.
- 3) drivers/rtc/pt7c4338.c
- -------------------------
+ drivers/rtc/pt7c4338.c
+ ----------------------
The driver is standard rtc. Simple conversion is possible.
- 4) drivers/rtc/mvrtc.c
- ----------------------
+ drivers/rtc/mvrtc.c
+ -------------------
The driver is standard rtc. Simple conversion is possible.
- 5) drivers/rtc/ftrtc010.c
- -------------------------
+ drivers/rtc/ftrtc010.c
+ ----------------------
The driver is standard rtc. Simple conversion is possible.
- 6) drivers/rtc/mpc5xxx.c
- ------------------------
+ drivers/rtc/mpc5xxx.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 7) drivers/rtc/ds164x.c
- -----------------------
+ drivers/rtc/ds164x.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 8) drivers/rtc/rs5c372.c
- ------------------------
+ drivers/rtc/rs5c372.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 9) drivers/rtc/m41t94.c
- -----------------------
+ drivers/rtc/m41t94.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 10) drivers/rtc/mc13xxx-rtc.c
- -----------------------------
+ drivers/rtc/mc13xxx-rtc.c
+ -------------------------
The driver is standard rtc. Simple conversion is possible.
- 11) drivers/rtc/mcfrtc.c
- ------------------------
+ drivers/rtc/mcfrtc.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 12) drivers/rtc/davinci.c
- -------------------------
+ drivers/rtc/davinci.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 13) drivers/rtc/rx8025.c
- ------------------------
+ drivers/rtc/rx8025.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 14) drivers/rtc/bfin_rtc.c
- --------------------------
+ drivers/rtc/bfin_rtc.c
+ ----------------------
The driver is standard rtc. Simple conversion is possible.
- 15) drivers/rtc/m41t62.c
- ------------------------
+ drivers/rtc/m41t62.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 16) drivers/rtc/ds1306.c
- ------------------------
+ drivers/rtc/ds1306.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 17) drivers/rtc/mpc8xx.c
- ------------------------
+ drivers/rtc/mpc8xx.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 18) drivers/rtc/ds3231.c
- ------------------------
+ drivers/rtc/ds3231.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 19) drivers/rtc/ds12887.c
- -------------------------
+ drivers/rtc/ds12887.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 20) drivers/rtc/ds1302.c
- ------------------------
+ drivers/rtc/ds1302.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 21) drivers/rtc/ds1374.c
- ------------------------
+ drivers/rtc/ds1374.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 22) drivers/rtc/ds174x.c
- ------------------------
+ drivers/rtc/ds174x.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 23) drivers/rtc/m41t60.c
- ------------------------
+ drivers/rtc/m41t60.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 24) drivers/rtc/m48t35ax.c
- --------------------------
+ drivers/rtc/m48t35ax.c
+ ----------------------
The driver is standard rtc. Simple conversion is possible.
- 25) drivers/rtc/pl031.c
- -----------------------
+ drivers/rtc/pl031.c
+ -------------------
The driver is standard rtc. Simple conversion is possible.
- 26) drivers/rtc/x1205.c
- -----------------------
+ drivers/rtc/x1205.c
+ -------------------
The driver is standard rtc. Simple conversion is possible.
- 27) drivers/rtc/m41t11.c
- ------------------------
+ drivers/rtc/m41t11.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 28) drivers/rtc/pcf8563.c
- -------------------------
+ drivers/rtc/pcf8563.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 29) drivers/rtc/mk48t59.c
- -------------------------
+ drivers/rtc/mk48t59.c
+ ---------------------
Macros needs cleanup. Besides that the driver is standard rtc.
Simple conversion is possible.
- 30) drivers/rtc/mxsrtc.c
- ------------------------
+ drivers/rtc/mxsrtc.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 31) drivers/rtc/ds1307.c
- ------------------------
+ drivers/rtc/ds1307.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 32) drivers/rtc/ds1556.c
- ------------------------
+ drivers/rtc/ds1556.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 33) drivers/rtc/rtc4543.c
- -------------------------
+ drivers/rtc/rtc4543.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 34) drivers/rtc/ds1337.c
- ------------------------
+ drivers/rtc/ds1337.c
+ --------------------
The driver is standard rtc. Simple conversion is possible.
- 35) drivers/rtc/isl1208.c
- -------------------------
+ drivers/rtc/isl1208.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 36) drivers/rtc/max6900.c
- -------------------------
+ drivers/rtc/max6900.c
+ ---------------------
The driver is standard rtc. Simple conversion is possible.
- 37) drivers/rtc/mc146818.c
- --------------------------
+ drivers/rtc/mc146818.c
+ ----------------------
The driver is standard rtc. Simple conversion is possible.
- 38) drivers/rtc/at91sam9_rtt.c
- ------------------------------
+ drivers/rtc/at91sam9_rtt.c
+ --------------------------
The driver is standard rtc. Simple conversion is possible.
diff --git a/doc/driver-model/UDM-serial.txt b/doc/driver-model/UDM-serial.txt
index 54f853e..da6d429 100644
--- a/doc/driver-model/UDM-serial.txt
+++ b/doc/driver-model/UDM-serial.txt
@@ -57,119 +57,119 @@ call, with STDIO_CONFIG_SERIAL_BAUDRATE argument.
III) Analysis of in-tree drivers
--------------------------------
- 1) altera_jtag_uart.c
- ---------------------
+ altera_jtag_uart.c
+ ------------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 2) altera_uart.c
- ----------------
+ altera_uart.c
+ -------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 3) arm_dcc.c
- ------------
+ arm_dcc.c
+ ---------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible, unless used
with CONFIG_ARM_DCC_MULTI. Then it registers another separate IOMUX.
- 4) atmel_usart.c
- ----------------
+ atmel_usart.c
+ -------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 5) mcfuart.c
- ------------
+ mcfuart.c
+ ---------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 6) ns16550.c
- ------------
+ ns16550.c
+ ---------
This driver seems complicated and certain consideration will need to be made
during conversion. This driver is implemented in very universal manner,
therefore it'll be necessary to properly design it's platform_data.
- 7) ns9750_serial.c
- ------------------
+ ns9750_serial.c
+ ---------------
Unmaintained port. Code got removed.
- 8) opencores_yanu.c
- -------------------
+ opencores_yanu.c
+ ----------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 9) s3c4510b_uart.c
- ------------------
+ s3c4510b_uart.c
+ ---------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 10) sandbox.c
- -------------
+ sandbox.c
+ ---------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 11) serial.c
- ------------
+ serial.c
+ --------
This is a complementary part of NS16550 UART driver, see above.
- 12) serial_clps7111.c
- ---------------------
+ serial_clps7111.c
+ -----------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 13) serial_imx.c
- ----------------
+ serial_imx.c
+ ------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible. This driver
might be removed in favor of serial_mxc.c .
- 14) serial_ixp.c
- ----------------
+ serial_ixp.c
+ ------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 15) serial_ks8695.c
- -------------------
+ serial_ks8695.c
+ ---------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 16) serial_max3100.c
- --------------------
+ serial_max3100.c
+ ----------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 17) serial_mxc.c
- ----------------
+ serial_mxc.c
+ ------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 18) serial_netarm.c
- -------------------
+ serial_netarm.c
+ ---------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 19) serial_pl01x.c
- ------------------
+ serial_pl01x.c
+ --------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible, though this
driver in fact contains two drivers in total.
- 20) serial_pxa.c
- ----------------
+ serial_pxa.c
+ ------------
This driver is a bit complicated, but due to clean support for
CONFIG_SERIAL_MULTI, there are no expected obstructions throughout the
conversion process.
- 21) serial_s3c24x0.c
- --------------------
+ serial_s3c24x0.c
+ ----------------
This driver, being quite ad-hoc might need some work to bring back to shape.
- 22) serial_s5p.c
- ----------------
+ serial_s5p.c
+ ------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 23) serial_sa1100.c
- -------------------
+ serial_sa1100.c
+ ---------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 24) serial_sh.c
- ---------------
+ serial_sh.c
+ -----------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 25) serial_xuartlite.c
- ----------------------
+ serial_xuartlite.c
+ ------------------
No support for CONFIG_SERIAL_MULTI. Simple conversion possible.
- 26) usbtty.c
- ------------
+ usbtty.c
+ --------
This driver seems very complicated and entangled with USB framework. The
conversion might be complicated here.
- 27) arch/powerpc/cpu/mpc512x/serial.c
- -------------------------------------
+ arch/powerpc/cpu/mpc512x/serial.c
+ ---------------------------------
This driver supports CONFIG_SERIAL_MULTI. This driver will need to be moved to
proper place.
diff --git a/doc/driver-model/UDM-spi.txt b/doc/driver-model/UDM-spi.txt
index 6e6acc8..9ba0f84 100644
--- a/doc/driver-model/UDM-spi.txt
+++ b/doc/driver-model/UDM-spi.txt
@@ -103,98 +103,98 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) altera_spi.c
- ---------------
+ altera_spi.c
+ ------------
All methods have designated structure. Simple conversion possible.
- 2) andes_spi.c
- --------------
+ andes_spi.c
+ -----------
All methods have designated structure. Simple conversion possible.
- 3) andes_spi.h
- --------------
+ andes_spi.h
+ -----------
Support file for andes_spi.c. No conversion is needed.
- 4) armada100_spi.c
- ------------------
+ armada100_spi.c
+ ---------------
All methods have designated structure. Simple conversion possible.
- 5) atmel_dataflash_spi.c
- ------------------------
+ atmel_dataflash_spi.c
+ ---------------------
Wrong placement. Will be moved to another location.
- 6) atmel_spi.c
- --------------
+ atmel_spi.c
+ -----------
Supports more than one bus. Need some minor change.
- 7) atmel_spi.h
- --------------
+ atmel_spi.h
+ -----------
Support file for andes_spi.c. No conversion is needed.
- 8) bfin_spi.c
- -------------
+ bfin_spi.c
+ ----------
Supports more than one bus. Need some minor change.
- 9) cf_spi.c
- -----------
+ cf_spi.c
+ --------
Cooperate with some cpu specific methods from other files. Hard conversion.
- 10) davinci_spi.c
- -----------------
+ davinci_spi.c
+ -------------
All methods have designated structure. Simple conversion possible.
- 11) davinci_spi.h
- -----------------
+ davinci_spi.h
+ -------------
Support file for davinci_spi.h. No conversion is needed.
- 12) fsl_espi.c
- --------------
+ fsl_espi.c
+ ----------
All methods have designated structure. Simple conversion possible.
- 13) kirkwood_spi.c
- ------------------
+ kirkwood_spi.c
+ --------------
All methods have designated structure. Simple conversion possible.
- 14) mpc8xxx_spi.c
- -----------------
+ mpc8xxx_spi.c
+ -------------
All methods have designated structure. Simple conversion possible.
- 15) mpc52xx_spi.c
- -----------------
+ mpc52xx_spi.c
+ -------------
All methods have designated structure. Simple conversion possible.
- 16) mxc_spi.c
- -------------
+ mxc_spi.c
+ ---------
All methods have designated structure. Simple conversion possible.
- 17) mxs_spi.c
- -------------
+ mxs_spi.c
+ ---------
All methods have designated structure. Simple conversion possible.
- 18) oc_tiny_spi.c
- -----------------
+ oc_tiny_spi.c
+ -------------
Supports more than one bus. Need some minor change.
- 19) omap3_spi.c
- ---------------
+ omap3_spi.c
+ -----------
Supports more than one bus. Need some minor change.
- 20) omap3_spi.h
- ---------------
+ omap3_spi.h
+ -----------
Support file for omap3_spi.c. No conversion is needed.
- 21) sh_spi.c
- ------------
+ sh_spi.c
+ --------
All methods have designated structure. Simple conversion possible.
- 22) sh_spi.h
- ------------
+ sh_spi.h
+ --------
Support file for sh_spi.h. No conversion is needed.
- 23) soft_spi.c
- --------------
+ soft_spi.c
+ ----------
Use many board specific method linked from other files. Need careful debugging.
- 24) tegra2_spi.c
- ----------------
+ tegra2_spi.c
+ ------------
Some hardware specific problem when releasing bus.
diff --git a/doc/driver-model/UDM-stdio.txt b/doc/driver-model/UDM-stdio.txt
index c0b1c90..156627b 100644
--- a/doc/driver-model/UDM-stdio.txt
+++ b/doc/driver-model/UDM-stdio.txt
@@ -158,21 +158,21 @@ For in-depth analysis of serial port drivers, refer to [ UDM-serial.txt ].
For in-depth analysis of keyboard drivers, refer to [ UDM-keyboard.txt ].
For in-depth analysis of video drivers, refer to [ UDM-video.txt ].
- 1) arch/blackfin/cpu/jtag-console.c
- -----------------------------------
+ arch/blackfin/cpu/jtag-console.c
+ --------------------------------
This driver is a classic STDIO driver, no problem with conversion is expected.
- 2) board/mpl/pati/pati.c
- ------------------------
+ board/mpl/pati/pati.c
+ ---------------------
This driver registers with the STDIO framework, though it uses a lot of ad-hoc
stuff which will need to be sorted out.
- 3) board/netphone/phone_console.c
- ---------------------------------
+ board/netphone/phone_console.c
+ ------------------------------
This driver is a classic STDIO driver, no problem with conversion is expected.
- 4) drivers/net/netconsole.c
- ---------------------------
+ drivers/net/netconsole.c
+ ------------------------
This driver is a classic STDIO driver, no problem with conversion is expected.
IV) Other involved files (To be removed)
diff --git a/doc/driver-model/UDM-twserial.txt b/doc/driver-model/UDM-twserial.txt
index 289416a..5f2c5a3 100644
--- a/doc/driver-model/UDM-twserial.txt
+++ b/doc/driver-model/UDM-twserial.txt
@@ -40,8 +40,8 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) drivers/twserial/soft_tws.c
- ------------------------------
+ drivers/twserial/soft_tws.c
+ ---------------------------
The driver is the only TWserial driver. The ad-hoc part in
include/configs/inka4x0.h and the core soft_tws driver should be consolidated
to one compact driver and moved to misc/ .
diff --git a/doc/driver-model/UDM-video.txt b/doc/driver-model/UDM-video.txt
index 342aeee..e67e9e4 100644
--- a/doc/driver-model/UDM-video.txt
+++ b/doc/driver-model/UDM-video.txt
@@ -36,39 +36,39 @@ static struct stdio_device_ops handling the character output.
III) Analysis of in-tree drivers
--------------------------------
- 1) arch/powerpc/cpu/mpc8xx/video.c
- ----------------------------------
+ arch/powerpc/cpu/mpc8xx/video.c
+ -------------------------------
This driver copies the cfb_console [ see drivers/video/cfb_console.c ]
approach and acts only as a STDIO device. Therefore there are currently two
possible approaches, first being the conversion of this driver to usual STDIO
device and second, long-term one, being conversion of this driver to video
driver that provides console.
- 2) arch/x86/lib/video.c
- -----------------------
+ arch/x86/lib/video.c
+ --------------------
This driver registers two separate STDIO devices and should be therefore
converted as such.
- 3) board/bf527-ezkit/video.c
- ----------------------------
+ board/bf527-ezkit/video.c
+ -------------------------
This driver seems bogus as it behaves as STDIO device, but provides no input
or output capabilities. It relies on DEV_EXT_VIDEO, which is no longer in use
or present otherwise than as a dead code/define.
- 4) board/bf533-stamp/video.c
- ----------------------------
+ board/bf533-stamp/video.c
+ -------------------------
This driver seems bogus as it behaves as STDIO device, but provides no input
or output capabilities. It relies on DEV_EXT_VIDEO, which is no longer in use
or present otherwise than as a dead code/define.
- 5) board/bf548-ezkit/video.c
- ----------------------------
+ board/bf548-ezkit/video.c
+ -------------------------
This driver seems bogus as it behaves as STDIO device, but provides no input
or output capabilities. It relies on DEV_EXT_VIDEO, which is no longer in use
or present otherwise than as a dead code/define.
- 6) board/cm-bf548/video.c
- ----------------------------
+ board/cm-bf548/video.c
+ ----------------------
This driver seems bogus as it behaves as STDIO device, but provides no input
or output capabilities. It relies on DEV_EXT_VIDEO, which is no longer in use
or present otherwise than as a dead code/define.
diff --git a/doc/driver-model/UDM-watchdog.txt b/doc/driver-model/UDM-watchdog.txt
index 7948e59..3f13063 100644
--- a/doc/driver-model/UDM-watchdog.txt
+++ b/doc/driver-model/UDM-watchdog.txt
@@ -64,266 +64,266 @@ II) Approach
III) Analysis of in-tree drivers
--------------------------------
- 1) drivers/watchdog/at91sam9_wdt.c
- ----------------------------------
+ drivers/watchdog/at91sam9_wdt.c
+ -------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 2) drivers/watchdog/ftwdt010_wdt.c
- ----------------------------------
+ drivers/watchdog/ftwdt010_wdt.c
+ -------------------------------
The driver is ad-hoc HW watchdog. Conversion has to take into account
driver parts spread in include/faraday/*. Restructuring the driver and
code cleanup has to be considered.
- 3) arch/arm/cpu/arm1136/mx31/timer.c
- ------------------------------------
+ arch/arm/cpu/arm1136/mx31/timer.c
+ ---------------------------------
The driver is semi-standard ad-hoc HW watchdog. Conversion has to take
into account driver parts spread in the timer.c file.
- 4) arch/arm/cpu/arm926ejs/davinci/timer.c
- -----------------------------------------
+ arch/arm/cpu/arm926ejs/davinci/timer.c
+ --------------------------------------
The driver is ad-hoc semi-standard HW watchdog. Conversion has to take
into account driver parts spread in the timer.c file.
- 5) arch/arm/cpu/armv7/omap-common/hwinit-common.c
- -------------------------------------------------
+ arch/arm/cpu/armv7/omap-common/hwinit-common.c
+ ----------------------------------------------
The driver is non-standard ad-hoc HW watchdog. Conversion is possible
but functions has to be renamed and constants moved to another places.
- 6) arch/arm/cpu/armv7/omap3/board.c
- -----------------------------------
+ arch/arm/cpu/armv7/omap3/board.c
+ --------------------------------
The driver is non-standard ad-hoc HW watchdog. Conversion is possible
but functions has to be renamed and constants moved to another places.
- 7) arch/blackfin/cpu/watchdog.c
- -------------------------------
+ arch/blackfin/cpu/watchdog.c
+ ----------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 8) arch/m68k/cpu/mcf523x/cpu.c
- ------------------------------
+ arch/m68k/cpu/mcf523x/cpu.c
+ ---------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 9) arch/m68k/cpu/mcf52x2/cpu.c
- ------------------------------
+ arch/m68k/cpu/mcf52x2/cpu.c
+ ---------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 10) arch/m68k/cpu/mcf532x/cpu.c
- -------------------------------
+ arch/m68k/cpu/mcf532x/cpu.c
+ ---------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 11) arch/m68k/cpu/mcf547x_8x/cpu.c
- ----------------------------------
+ arch/m68k/cpu/mcf547x_8x/cpu.c
+ ------------------------------
The driver is standard HW watchdog (there is slight naming convention
violation that has to be rectified). Simple conversion is possible.
- 12) arch/powerpc/cpu/74xx_7xx/cpu.c
- -----------------------------------
+ arch/powerpc/cpu/74xx_7xx/cpu.c
+ -------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 13) arch/powerpc/cpu/mpc512x/cpu.c
- ----------------------------------
+ arch/powerpc/cpu/mpc512x/cpu.c
+ ------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 14) arch/powerpc/cpu/mpc5xx/cpu.c
- ---------------------------------
+ arch/powerpc/cpu/mpc5xx/cpu.c
+ -----------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 15) arch/powerpc/cpu/mpc5xxx/cpu.c
- ----------------------------------
+ arch/powerpc/cpu/mpc5xxx/cpu.c
+ ------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 16) arch/powerpc/cpu/mpc8260/cpu.c
- ----------------------------------
+ arch/powerpc/cpu/mpc8260/cpu.c
+ ------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 17) arch/powerpc/cpu/mpc83xx/cpu.c
- ----------------------------------
+ arch/powerpc/cpu/mpc83xx/cpu.c
+ ------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 18) arch/powerpc/cpu/mpc85xx/cpu.c
- ----------------------------------
+ arch/powerpc/cpu/mpc85xx/cpu.c
+ ------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 19) arch/powerpc/cpu/mpc86xx/cpu.c
- ----------------------------------
+ arch/powerpc/cpu/mpc86xx/cpu.c
+ ------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 20) arch/powerpc/cpu/mpc8xx/cpu.c
-
+ arch/powerpc/cpu/mpc8xx/cpu.c
+ -----------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 21) arch/powerpc/cpu/ppc4xx/cpu.c
- ---------------------------------
+ arch/powerpc/cpu/ppc4xx/cpu.c
+ -----------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 22) arch/sh/cpu/sh2/watchdog.c
- ------------------------------
+ arch/sh/cpu/sh2/watchdog.c
+ --------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 23) arch/sh/cpu/sh3/watchdog.c
- ------------------------------
+ arch/sh/cpu/sh3/watchdog.c
+ --------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 24) arch/sh/cpu/sh4/watchdog.c
- ------------------------------
+ arch/sh/cpu/sh4/watchdog.c
+ --------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 25) board/amcc/luan/luan.c
- --------------------------
+ board/amcc/luan/luan.c
+ ----------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 26) board/amcc/yosemite/yosemite.c
- ----------------------------------
+ board/amcc/yosemite/yosemite.c
+ ------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 27) board/apollon/apollon.c
- ---------------------------
+ board/apollon/apollon.c
+ -----------------------
The driver is standard HW watchdog however the watchdog_init()
function is called in early initialization. Simple conversion is possible.
- 28) board/bmw/m48t59y.c
- -----------------------
+ board/bmw/m48t59y.c
+ -------------------
Special watchdog driver. Dead code. To be removed.
- 29) board/davedenx/qong/qong.c
- ------------------------------
+ board/davedenx/qong/qong.c
+ --------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 30) board/dvlhost/watchdog.c
- ----------------------------
+ board/dvlhost/watchdog.c
+ ------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 31) board/eNET/eNET.c
- ---------------------
+ board/eNET/eNET.c
+ -----------------
The driver is standard HW watchdog. Simple conversion is possible.
- 32) board/eltec/elppc/elppc.c
- -----------------------------
+ board/eltec/elppc/elppc.c
+ -------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 33) board/enbw/enbw_cmc/enbw_cmc.c
- ----------------------------------
+ board/enbw/enbw_cmc/enbw_cmc.c
+ ------------------------------
Only function proxy call. Code cleanup needed.
- 34) board/freescale/mx31pdk/mx31pdk.c
- -------------------------------------
+ board/freescale/mx31pdk/mx31pdk.c
+ ---------------------------------
Only function proxy call. Code cleanup needed.
- 35) board/gth2/gth2.c
- ---------------------
+ board/gth2/gth2.c
+ -----------------
The driver is standard HW watchdog. Simple conversion is possible.
- 36) board/lwmon5/lwmon5.c
- -------------------------
+ board/lwmon5/lwmon5.c
+ ---------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 37) board/manroland/mucmc52/mucmc52.c
- -------------------------------------
+ board/manroland/mucmc52/mucmc52.c
+ ---------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 38) board/manroland/uc101/uc101.c
- ---------------------------------
+ board/manroland/uc101/uc101.c
+ -----------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 39) board/mousse/m48t59y.c
- --------------------------
+ board/mousse/m48t59y.c
+ ----------------------
Special watchdog driver. Dead code. To be removed.
- 40) board/mvblue/mvblue.c
- -------------------------
+ board/mvblue/mvblue.c
+ ---------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 41) board/netphone/netphone.c
- -----------------------------
+ board/netphone/netphone.c
+ -------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 42) board/netta/netta.c
- -----------------------
+ board/netta/netta.c
+ -------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 43) board/netta2/netta2.c
- -------------------------
+ board/netta2/netta2.c
+ ---------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 44) board/omicron/calimain/calimain.c
- -------------------------------------
+ board/omicron/calimain/calimain.c
+ ---------------------------------
Only function proxy call. Code cleanup needed.
- 46) board/pcs440ep/pcs440ep.c
- -----------------------------
+ board/pcs440ep/pcs440ep.c
+ -------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 47) board/stx/stxxtc/stxxtc.c
- -----------------------------
+ board/stx/stxxtc/stxxtc.c
+ -------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 48) board/ti/omap2420h4/omap2420h4.c
- ------------------------------------
+ board/ti/omap2420h4/omap2420h4.c
+ --------------------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 49) board/ttcontrol/vision2/vision2.c
- -------------------------------------
+ board/ttcontrol/vision2/vision2.c
+ ---------------------------------
The driver is standard HW watchdog but namespace is polluted by
non-standard macros. Simple conversion is possible, code cleanup
needed.
- 50) board/v38b/v38b.c
- ---------------------
+ board/v38b/v38b.c
+ -----------------
The driver is standard HW watchdog. Simple conversion is possible.
- 51) board/ve8313/ve8313.c
- -------------------------
+ board/ve8313/ve8313.c
+ ---------------------
The driver is standard HW watchdog. Simple conversion is possible.
- 52) board/w7o/watchdog.c
- ------------------------
+ board/w7o/watchdog.c
+ --------------------
The driver is standard HW watchdog. Simple conversion is possible.