miscelleanous beautification patches
Subsystems (31)
cover miscelleanous beautification patches
The following patches mostly change the output of various commands.
Holger Schurig (10):
drvlist: factor the driver list out of 'devinfo'
devinfo: reduce indentation
devinfo: make the output of "devinfo DEVICE" nicer
parameters: only show possible enumerations if there are any
net: show enetaddr in lowercase
meminfo: purely cosmetical changes
misc: upper-case some abbreviations
bootm: beautify output
beautify PHY driver names
device drivers: harmonize underscore in driver names
arch/arm/Kconfig | 4 +- arch/arm/boards/at91rm9200ek/init.c | 8 ++-- arch/arm/boards/at91sam9261ek/init.c | 4 +- arch/arm/boards/at91sam9m10g45ek/init.c | 2 +- arch/arm/boards/nhk8815/setup.c | 2 +- arch/arm/boards/phytec-phycore-imx27/pcm970.c | 2 +- arch/arm/boards/tny-a926x/init.c | 4 +- arch/arm/boards/usb-a926x/init.c | 4 +- arch/arm/cpu/cpu.c | 2 +- arch/arm/lib/armlinux.c | 2 +- arch/arm/lib/bootm.c | 4 +- arch/arm/mach-imx/iim.c | 2 +- arch/arm/mach-imx/imx25.c | 2 +- arch/arm/mach-imx/imx27.c | 2 +- arch/arm/mach-imx/imx31.c | 2 +- arch/arm/mach-imx/imx35.c | 2 +- arch/arm/mach-imx/imx51.c | 2 +- arch/arm/mach-imx/imx53.c | 2 +- arch/arm/mach-imx/ocotp.c | 2 +- arch/mips/mach-ar231x/ar231x_reset.c | 2 +- arch/nios2/boards/generic/generic.c | 2 +- arch/x86/boards/x86_generic/intf_platform_ide.c | 4 +- commands/Kconfig | 44 +++++++++++------- commands/Makefile | 1 + commands/bootm.c | 15 ++++--- commands/devinfo.c | 55 +++++++++++------------ commands/drvinfo.c | 47 +++++++++++++++++++ common/bootm.c | 8 ++-- common/dlmalloc.c | 8 ++-- common/filetype.c | 20 ++++----- common/tlsf_malloc.c | 2 +- drivers/ata/intf_platform_ide.c | 2 +- drivers/clk/clk-ar933x.c | 2 +- drivers/clocksource/arm_smp_twd.c | 2 +- drivers/clocksource/nomadik.c | 2 +- drivers/gpio/gpio-davinci.c | 2 +- drivers/gpio/gpio-pl061.c | 2 +- drivers/input/gpio_keys.c | 2 +- drivers/input/twl6030_pwrbtn.c | 2 +- drivers/mci/atmel_mci.c | 2 +- drivers/mci/dw_mmc.c | 2 +- drivers/mci/mci-bcm2835.c | 2 +- drivers/mci/mci_spi.c | 2 +- drivers/mci/mxs.c | 2 +- drivers/mci/s3c.c | 2 +- drivers/mtd/devices/mtd_dataflash.c | 2 +- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/nand_imx.c | 2 +- drivers/mtd/nand/nand_mxs.c | 2 +- drivers/mtd/nand/nand_omap_gpmc.c | 4 +- drivers/mtd/nand/nand_s3c24xx.c | 2 +- drivers/mtd/nand/nomadik_nand.c | 2 +- drivers/mtd/nor/cfi_flash.c | 2 +- drivers/net/altera_tse.c | 2 +- drivers/net/ar231x.c | 2 +- drivers/net/arc_emac.c | 2 +- drivers/net/at91_ether.c | 2 +- drivers/net/cpsw.c | 2 +- drivers/net/cs8900.c | 2 +- drivers/net/davinci_emac.c | 2 +- drivers/net/designware.c | 2 +- drivers/net/dm9k.c | 2 +- drivers/net/ep93xx.c | 2 +- drivers/net/ethoc.c | 2 +- drivers/net/fec_imx.c | 2 +- drivers/net/fec_mpc5200.c | 2 +- drivers/net/gianfar.c | 6 +-- drivers/net/ks8851_mll.c | 2 +- drivers/net/ksz8864rmn.c | 2 +- drivers/net/macb.c | 2 +- drivers/net/netx_eth.c | 2 +- drivers/net/orion-gbe.c | 2 +- drivers/net/phy/at803x.c | 6 +-- drivers/net/phy/lxt.c | 2 +- drivers/net/phy/mdio_bus.c | 2 +- drivers/net/phy/micrel.c | 18 ++++---- drivers/net/phy/national.c | 2 +- drivers/net/phy/phy.c | 2 +- drivers/net/phy/smsc.c | 10 ++--- drivers/net/smc91111.c | 2 +- drivers/net/smc911x.c | 2 +- drivers/net/tap.c | 2 +- drivers/net/xgmac.c | 2 +- drivers/pwm/pxa_pwm.c | 2 +- drivers/serial/arm_dcc.c | 4 +- drivers/serial/atmel.c | 2 +- drivers/serial/serial_altera.c | 2 +- drivers/serial/serial_altera_jtag.c | 2 +- drivers/serial/serial_ar933x.c | 2 +- drivers/serial/serial_auart.c | 2 +- drivers/serial/serial_blackfin.c | 2 +- drivers/serial/serial_cadence.c | 2 +- drivers/serial/serial_imx.c | 2 +- drivers/serial/serial_mpc5xxx.c | 2 +- drivers/serial/serial_netx.c | 2 +- drivers/serial/serial_ns16550.c | 2 +- drivers/serial/serial_omap4_usbboot.c | 2 +- drivers/serial/serial_pl010.c | 2 +- drivers/serial/serial_pxa.c | 2 +- drivers/serial/serial_s3c.c | 2 +- drivers/serial/stm-serial.c | 2 +- drivers/spi/altera_spi.c | 2 +- drivers/spi/atmel_spi.c | 2 +- drivers/spi/imx_spi.c | 2 +- drivers/spi/mxs_spi.c | 2 +- drivers/usb/gadget/dfu.c | 2 +- drivers/usb/gadget/serial.c | 2 +- drivers/usb/host/ohci-at91.c | 2 +- drivers/video/atmel_hlcdfb.c | 2 +- drivers/video/atmel_lcdfb.c | 2 +- drivers/video/bcm2835.c | 2 +- drivers/video/fb.c | 7 +-- drivers/video/imx.c | 2 +- drivers/video/omap.c | 2 +- drivers/video/pxa.c | 2 +- drivers/video/s3c24xx.c | 2 +- drivers/video/sdl.c | 2 +- drivers/video/stm.c | 2 +- drivers/w1/w1.c | 4 +- fs/omap4_usbbootfs.c | 2 +- lib/decompress_bunzip2.c | 2 +- lib/parameter.c | 3 ++ net/net.c | 2 +- 123 files changed, 275 insertions(+), 215 deletions(-) create mode 100644 commands/drvinfo.c
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 2/10 devinfo: reduce indentation
This patch reduces the indentation of "devinfo", to reduce the amount of overly long lines.
And while we're at it, also remove the fixed-size of the human-readable area. As entries didn't align anyway (because of indentation), this was just eating more space without giving much more readability.
--- commands/devinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
commands/devinfo.c +4 -4
@@ -25,15 +25,15 @@ static int do_devinfo_subtree(struct device_d *dev, int depth)int i;for (i =0 ; i < depth; i++) -printf (" " ); +printf (" " ); -printf ("`---- %s" ,dev_name (dev)); +printf ("`-- %s" ,dev_name (dev));if (!list_empty (&dev->cdevs)) {printf ("\n" );list_for_each_entry (cdev, &dev->cdevs, devices_list) {for (i =0 ; i < depth +1 ; i++) -printf (" " ); - printf("`---- 0x%08llx-0x%08llx (%10s): /dev/%s\n", +printf (" " ); + printf("`-- 0x%08llx-0x%08llx (%s): /dev/%s\n", cdev->offset, cdev->offset + cdev->size - 1, size_human_readable(cdev->size),
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 1/10 drvlist: factor the driver list out of 'devinfo'
In reply to Holger SchurigThe command 'devinfo' was first spitting out all devices, and then also all drivers. This patch separates them into two commands, 'devinfo' as before, and also the new command 'drvinfo'
--- commands/Kconfig | 9 ++++++++- commands/Makefile | 1 + commands/devinfo.c | 9 ++------- commands/drvinfo.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 58 insertions(+), 8 deletions(-) create mode 100644 commands/drvinfo.c
commands/Kconfig +8 -1
@@ -79,11 +79,18 @@ config CMD_DEVINFO devinfo [DEVICE] If called without arguments, devinfo shows a summary of the known - devices and drivers. + devices. If called with a device path being the argument, devinfo shows more default information about this device and its parameters. +config CMD_DRVINFO + tristate + default y + prompt "drvinfo" + help + List compiled-in device drivers and the devices they support. + config CMD_HELP tristate default y
commands/Makefile +1 -0
@@ -94,6 +94,7 @@ obj-$(CONFIG_CMD_MIITOOL) += miitool.o obj-$(CONFIG_CMD_DETECT) += detect.o obj-$(CONFIG_CMD_BOOT) += boot.o obj-$(CONFIG_CMD_DEVINFO) += devinfo.o +obj-$(CONFIG_CMD_DRVINFO) += drvinfo.o obj-$(CONFIG_CMD_READF) += readf.o obj-$(CONFIG_CMD_MENUTREE) += menutree.o obj-$(CONFIG_CMD_2048) += 2048.o
commands/devinfo.c +2 -7
@@ -55,7 +55,6 @@ static int do_devinfo_subtree(struct device_d *dev, int depth)static int do_devinfo (int argc,char *argv[]) {struct device_d *dev; -struct driver_d *drv;struct param_d *param;int i;struct resource *res;
@@ -67,10 +66,6 @@ static int do_devinfo(int argc, char *argv[])if (!dev->parent)do_devinfo_subtree (dev,0 ); } - -printf ("\ndrivers:\n" ); -for_each_driver (drv) -printf ("%s\n" ,drv->name); }else { dev =get_device_by_name (argv[1 ]);
@@ -149,7 +144,7 @@ Example from an MPC5200 based system: BAREBOX_CMD_HELP_START(devinfo) BAREBOX_CMD_HELP_TEXT("If called without arguments, devinfo shows a summary of the known") -BAREBOX_CMD_HELP_TEXT("devices and drivers.") +BAREBOX_CMD_HELP_TEXT("devices.") BAREBOX_CMD_HELP_TEXT("") BAREBOX_CMD_HELP_TEXT("If called with a device path being the argument, devinfo shows more")BAREBOX_CMD_HELP_TEXT ("default information about this device and its parameters." )
@@ -158,7 +153,7 @@ BAREBOX_CMD_HELP_ENDBAREBOX_CMD_START (devinfo) .cmd = do_devinfo, - BAREBOX_CMD_DESC("show information about devices and drivers") + BAREBOX_CMD_DESC("show information about devices") BAREBOX_CMD_OPTS("[DEVICE]")BAREBOX_CMD_GROUP (CMD_GRP_INFO)BAREBOX_CMD_HELP (cmd_devinfo_help)
commands/drvinfo.c new file +47 -0
47 lines not on this page · raw message
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 3/10 devinfo: make the output of "devinfo DEVICE" nicer
In reply to Holger Schurig* some output sections started with "foo: bar", some with "foo = bar". Unify this.
* there was a fixed size to the "foo =" parameters, which wasn't fitting, this was especially visible at "devinfo global"
* don't output "resources:", "driver:" and "bus:" lines if there are none resources, drivers or busses involved.
* remove some empty lines
* harmonize differentiation between headlines (e.g. "resources:") and values by indenting values slightly
* uppercase some texts
--- commands/devinfo.c | 38 +++++++++++++++++++++----------------- drivers/video/fb.c | 7 ++----- 2 files changed, 23 insertions(+), 22 deletions(-)
commands/devinfo.c +21 -17
@@ -52,16 +52,16 @@ static int do_devinfo_subtree(struct device_d *dev, int depth)return 0 ; } +static int do_devinfo (int argc,char *argv[]) {struct device_d *dev;struct param_d *param;int i; +int first;struct resource *res;if (argc ==1 ) { -printf ("devices:\n" ); -for_each_device (dev) {if (!dev->parent)do_devinfo_subtree (dev,0 );
@@ -74,38 +74,42 @@ static int do_devinfo(int argc, char *argv[])return -1 ; } -printf ("resources:\n" ); +if (dev->num_resources) +printf ("Resources:\n" );for (i =0 ; i < dev->num_resources; i++) { res = &dev->resource[i]; -printf ("num : %d\n" , i); +printf (" num: %d\n" , i);if (res->name) -printf ("name : %s\n" , res->name); -printf ("start : " PRINTF_CONVERSION_RESOURCE "\nsize : " -PRINTF_CONVERSION_RESOURCE "\n" , +printf (" name: %s\n" , res->name); +printf (" start: " PRINTF_CONVERSION_RESOURCE "\n" +" size: " PRINTF_CONVERSION_RESOURCE "\n" , res->start,resource_size (res)); } -printf ("driver: %s\n" , dev->driver ? - dev->driver->name :"none" ); +if (dev->driver) +printf ("Driver: %s\n" , dev->driver->name); -printf ("bus: %s\n\n" , dev->bus ? - dev->bus->name :"none" ); +if (dev->bus) +printf ("Bus: %s\n" , dev->bus->name);if (dev->info) dev->info (dev); -printf ("%s\n" ,list_empty (&dev->parameters) ? -"no parameters available" :"Parameters:" ); - + first = true;list_for_each_entry (param, &dev->parameters, list) { -printf ("%16s = %s" , param->name,dev_get_param (dev, param->name)); -if (param->info) +if (first) { +printf ("Parameters:\n" ); + first = false; + } +printf (" %s: %s" , param->name,dev_get_param (dev, param->name)); +if (param->info) { param->info (param); + }printf ("\n" ); }#ifdef CONFIG_OFDEVICE if (dev->device_node) { -printf ("\ndevice node: %s\n" , dev->device_node->full_name); +printf ("Device node: %s\n" , dev->device_node->full_name);of_print_nodes (dev->device_node,0 ); }#endif
drivers/video/fb.c +2 -5
@@ -125,7 +125,7 @@ static struct file_operations fb_ops = {static void fb_print_mode (struct fb_videomode *mode) { -printf ("%-20s %dx%d@%d\n" , mode->name, +printf (" %s: %dx%d@%d\n" , mode->name, mode->xres, mode->yres, mode->refresh); }
@@ -141,12 +141,9 @@ static void fb_info(struct device_d *dev) {struct fb_info *info = dev->priv; -printf ("available modes:\n" ); - +printf ("Available modes:\n" );fb_print_modes (&info->modes);fb_print_modes (&info->edid_modes); - -printf ("\n" ); }int register_framebuffer (struct fb_info *info)
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 4/10 parameters: only show possible enumerations if there are any
In reply to Holger SchurigEnumeration values will only be shown if there are at least two of them. With only one enumeration, it was just repeating what was previously printed anyway.
--- lib/parameter.c | 3 +++ 1 file changed, 3 insertions(+)
lib/parameter.c +3 -0
@@ -362,6 +362,9 @@ static void param_enum_info(struct param_d *p)struct param_enum *pe =to_param_enum (p);int i; +if (pe->num_names <=1 ) +return ; +printf (" (" );for (i =0 ; i < pe->num_names; i++) {
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 5/10 net: show enetaddr in lowercase
In reply to Holger Schurig"ifconfig" and "ip" from normal Linux userspace shows ethernet addresses normally in lowercase. And the %pM format specifier in Linux does that, too. Conform to this custom formatting.
--- net/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/net.c +1 -1
@@ -160,7 +160,7 @@ int string_to_ethaddr(const char *str, u8 enetaddr[6])void ethaddr_to_string (const u8 enetaddr[6 ],char *str) { -sprintf (str,"%02X:%02X:%02X:%02X:%02X:%02X" , +sprintf (str,"%02x:%02x:%02x:%02x:%02x:%02x" , enetaddr[0 ], enetaddr[1 ], enetaddr[2 ], enetaddr[3 ], enetaddr[4 ], enetaddr[5 ]); }
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 6/10 meminfo: purely cosmetical changes
In reply to Holger Schurig--- common/dlmalloc.c | 8 ++++---- common/tlsf_malloc.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
common/dlmalloc.c +4 -4
@@ -1942,13 +1942,13 @@ static void malloc_update_mallinfo(void)void malloc_stats (void ) {malloc_update_mallinfo (); -printf ("max system bytes = %10u\n" , (unsigned int )(max_total_mem)); -printf ("system bytes = %10u\n" , +printf ("Maximum system memory: %u\n" , (unsigned int )(max_total_mem)); +printf ("Current system memory: %u\n" , (unsigned int )(sbrked_mem + mmapped_mem)); -printf ("in use bytes = %10u\n" , +printf ("in use: %u\n" , (unsigned int )(current_mallinfo.uordblks + mmapped_mem));#if HAVE_MMAP -fprintf (stderr,"max mmap regions = %10u\n" , +printf ("Maximum mmap'ed mmap regions: %u\n" , (unsigned int ) max_n_mmaps);#endif }
common/tlsf_malloc.c +1 -1
@@ -97,5 +97,5 @@ void malloc_stats(void)tlsf_walk_heap (tlsf_mem_pool, malloc_walker, &s); -printf ("used: %10zu\nfree: %10zu\n" , s.used, s.free); +printf ("used: %zu\nfree: %zu\n" , s.used, s.free); }
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 9/10 beautify PHY driver names
In reply to Holger SchurigSome device names where texts like "Atheros 8035 ethernet" or similar. They now got a prefix "phy-" and just their name and look now much more like the other driver names.
--- drivers/net/phy/at803x.c | 6 +++--- drivers/net/phy/lxt.c | 2 +- drivers/net/phy/micrel.c | 18 +++++++++--------- drivers/net/phy/national.c | 2 +- drivers/net/phy/phy.c | 2 +- drivers/net/phy/smsc.c | 10 +++++----- 6 files changed, 20 insertions(+), 20 deletions(-)
drivers/net/phy/at803x.c +3 -3
@@ -88,7 +88,7 @@ static struct phy_driver at803x_driver[] = {/* ATHEROS 8035 */ .phy_id = 0x004dd072, .phy_id_mask = 0xffffffef, - .drv.name = "Atheros 8035 ethernet", + .drv.name = "phy-ath8035", .config_init = at803x_config_init, .features = PHY_GBIT_FEATURES, .config_aneg = &genphy_config_aneg,
@@ -97,7 +97,7 @@ static struct phy_driver at803x_driver[] = {/* ATHEROS 8030 */ .phy_id = 0x004dd076, .phy_id_mask = 0xffffffef, - .drv.name = "Atheros 8030 ethernet", + .drv.name = "phy-ath8030", .config_init = at803x_config_init, .features = PHY_GBIT_FEATURES, .config_aneg = &genphy_config_aneg,
@@ -106,7 +106,7 @@ static struct phy_driver at803x_driver[] = {/* ATHEROS 8031 */ .phy_id = 0x004dd074, .phy_id_mask = 0xffffffef, - .drv.name = "Atheros 8031 ethernet", + .drv.name = "phy-ath8031", .config_init = at803x_config_init, .features = PHY_GBIT_FEATURES, .config_aneg = &genphy_config_aneg,
drivers/net/phy/lxt.c +1 -1
@@ -19,7 +19,7 @@ static struct phy_driver lxt97x_driver[] = { { .phy_id = 0x001378e0, .phy_id_mask = 0xfffffff0, - .drv.name = "LXT971", + .drv.name = "phy-lxt971", .features = PHY_BASIC_FEATURES, } };
drivers/net/phy/micrel.c +9 -9
@@ -191,7 +191,7 @@ static struct phy_driver ksphy_driver[] = { { .phy_id = PHY_ID_KS8737, .phy_id_mask = 0x00fffff0, - .drv.name = "Micrel KS8737", + .drv.name = "phy-ks8737", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause), .config_init = kszphy_config_init, .config_aneg = genphy_config_aneg,
@@ -199,7 +199,7 @@ static struct phy_driver ksphy_driver[] = { }, { .phy_id = PHY_ID_KSZ8021, .phy_id_mask = 0x00ffffff, - .drv.name = "Micrel KSZ8021", + .drv.name = "phy-ksz8021", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause), .config_init = ksz8021_config_init,
@@ -208,7 +208,7 @@ static struct phy_driver ksphy_driver[] = { }, { .phy_id = PHY_ID_KSZ8031, .phy_id_mask = 0x00ffffff, - .drv.name = "Micrel KSZ8031", + .drv.name = "phy-ksz8031", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause), .config_init = ksz8021_config_init,
@@ -217,7 +217,7 @@ static struct phy_driver ksphy_driver[] = { }, { .phy_id = PHY_ID_KSZ8041, .phy_id_mask = 0x00fffff0, - .drv.name = "Micrel KSZ8041", + .drv.name = "phy-ksz8041", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause), .config_init = kszphy_config_init,
@@ -226,7 +226,7 @@ static struct phy_driver ksphy_driver[] = { }, { .phy_id = PHY_ID_KSZ8051, .phy_id_mask = 0x00fffff0, - .drv.name = "Micrel KSZ8051", + .drv.name = "phy-ksz8051", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause), .config_init = ks8051_config_init,
@@ -234,7 +234,7 @@ static struct phy_driver ksphy_driver[] = { .read_status = genphy_read_status, }, { .phy_id = PHY_ID_KSZ8001, - .drv.name = "Micrel KSZ8001 or KS8721", + .drv.name = "phy-ksz8001-ks8721", .phy_id_mask = 0x00ffffff, .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause), .config_init = kszphy_config_init,
@@ -248,7 +248,7 @@ static struct phy_driver ksphy_driver[] = {*/ .phy_id = PHY_ID_KSZ9021, .phy_id_mask = 0x000ffffe, - .drv.name = "Micrel KSZ9021 Gigabit PHY", + .drv.name = "phy-ksz9021", .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause), .config_init = ksz9021_config_init, .config_aneg = genphy_config_aneg,
@@ -256,7 +256,7 @@ static struct phy_driver ksphy_driver[] = { }, { .phy_id = PHY_ID_KSZ9031, .phy_id_mask = 0x00fffff0, - .drv.name = "Micrel KSZ9031 Gigabit PHY", + .drv.name = "phy-ksz9031", .features = (PHY_GBIT_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause), .config_init = kszphy_config_init,
@@ -265,7 +265,7 @@ static struct phy_driver ksphy_driver[] = { }, { .phy_id = PHY_ID_KSZ8873MLL, .phy_id_mask = 0x00fffff0, - .drv.name = "Micrel KSZ8873MLL Switch", + .drv.name = "phy-ksz8873mll", .features = (SUPPORTED_Pause | SUPPORTED_Asym_Pause), .config_init = ksz8873mll_config_init, .config_aneg = ksz8873mll_config_aneg,
drivers/net/phy/national.c +1 -1
@@ -82,7 +82,7 @@ static int ns_config_init(struct phy_device *phydev)static struct phy_driver dp83865_driver = { .phy_id =0x20005c70 , .phy_id_mask =0xfffffff0 , - .drv.name ="NatSemi DP83865" , + .drv.name ="phy-dp83865" , .features =PHY_GBIT_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause, .config_init = ns_config_init,
drivers/net/phy/phy.c +1 -1
@@ -855,7 +855,7 @@ int phy_init_hw(struct phy_device *phydev) }static struct phy_driver genphy_driver = { - .drv.name ="Generic PHY" , + .drv.name ="phy-generic" , .phy_id =PHY_ANY_UID , .phy_id_mask =PHY_ANY_UID , .features = PHY_GBIT_FEATURES | SUPPORTED_MII |
drivers/net/phy/smsc.c +5 -5
@@ -80,7 +80,7 @@ static struct phy_driver smsc_phy_driver[] = { { .phy_id = 0x0007c0a0, /* OUI=0x00800f, Model#=0x0a */ .phy_id_mask = 0xfffffff0, - .drv.name = "SMSC LAN83C185", + .drv.name = "phy-lan83c185", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause),
@@ -92,7 +92,7 @@ static struct phy_driver smsc_phy_driver[] = { }, { .phy_id = 0x0007c0b0, /* OUI=0x00800f, Model#=0x0b */ .phy_id_mask = 0xfffffff0, - .drv.name = "SMSC LAN8187", + .drv.name = "phy-lan8187", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause),
@@ -104,7 +104,7 @@ static struct phy_driver smsc_phy_driver[] = { }, { .phy_id = 0x0007c0c0, /* OUI=0x00800f, Model#=0x0c */ .phy_id_mask = 0xfffffff0, - .drv.name = "SMSC LAN8700", + .drv.name = "phy-lan8700", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause),
@@ -116,7 +116,7 @@ static struct phy_driver smsc_phy_driver[] = { }, { .phy_id = 0x0007c0d0, /* OUI=0x00800f, Model#=0x0d */ .phy_id_mask = 0xfffffff0, - .drv.name = "SMSC LAN911x Internal PHY", + .drv.name = "phy-lan911x", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause),
@@ -128,7 +128,7 @@ static struct phy_driver smsc_phy_driver[] = { }, { .phy_id = 0x0007c0f0, /* OUI=0x00800f, Model#=0x0f */ .phy_id_mask = 0xfffffff0, - .drv.name = "SMSC LAN8710/LAN8720", + .drv.name = "phy-lan8710", .features = (PHY_BASIC_FEATURES | SUPPORTED_Pause | SUPPORTED_Asym_Pause),
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 7/10 misc: upper-case some abbreviations
In reply to Holger Schurig--- arch/arm/Kconfig | 4 ++-- arch/arm/cpu/cpu.c | 2 +- arch/arm/lib/bootm.c | 4 ++-- commands/Kconfig | 20 ++++++++++---------- common/bootm.c | 4 ++-- common/filetype.c | 20 ++++++++++---------- lib/decompress_bunzip2.c | 2 +- 7 files changed, 28 insertions(+), 28 deletions(-)
arch/arm/Kconfig +2 -2
@@ -252,7 +252,7 @@ config THUMB2_BAREBOX bool "Compile barebox in thumb-2 mode (read help)" help This enables compilation of barebox in thumb-2 mode which generates - ~25% smaller binaries. Arm Assembly code needs some fixups to be able + ~25% smaller binaries. ARM assembly code needs some fixups to be able to work correctly in thumb-2 mode. the barebox core should have these fixups since most assembly code is derived from the Kernel. However, your board lowlevel init code may break in thumb-2 mode. You have been
@@ -267,7 +267,7 @@ config ARM_BOARD_APPEND_ATAG endmenu -menu "Arm specific settings" +menu "ARM specific settings" config CPU_V7_DCACHE_SKIP bool "Skip DCache Invalidate"
arch/arm/cpu/cpu.c +1 -1
@@ -124,7 +124,7 @@ coredevice_initcall(arm_request_stack);static void thumb2_execute (void *func,int argc,char *argv[]) {/* -* Switch back to arm mode before executing external +* Switch back to ARM mode before executing external * programs. */ __asm__ __volatile__ (
arch/arm/lib/bootm.c +2 -2
@@ -135,7 +135,7 @@ static int do_bootm_linux(struct image_data *data) load_address = mem_start +PAGE_ALIGN (uimage_get_size (data->os, data->os_num) *4 );if (bootm_verbose (data)) -printf ("no os load address, defaulting to 0x%08lx\n" , +printf ("no OS load address, defaulting to 0x%08lx\n" , load_address); }
@@ -294,7 +294,7 @@ static int do_bootz_linux(struct image_data *data) load_address = data->os_address;if (bootm_verbose (data)) -printf ("no os load address, defaulting to 0x%08lx\n" , +printf ("no OS load address, defaulting to 0x%08lx\n" , load_address); }
commands/Kconfig +10 -10
@@ -809,24 +809,24 @@ Detect file type what you have compiled into barebox. Example of "filetype -l": known filetypes: - arm-zimage : arm Linux zImage - lzo : lzo compressed - lz4 : lz4 compressed - arm-barebox : arm barebox image + arm-zimage : ARM Linux zImage + lzo : LZO compressed + lz4 : LZ4 compressed + arm-barebox : ARM barebox image u-boot : U-Boot uImage ubi : UBI image jffs2 : JFFS2 image - gzip : gzip compressed - bzip2 : bzip2 compressed - dtb : open firmware flat device tree - android : Android boot image - sh : Bourne Shell + gzip : GZIP compressed + bzip2 : BZIP2 compressed + dtb : open firmware Device Tree flattened Binary + android : android boot image + sh : bourne SHell mips-barebox : MIPS barebox image fat : FAT filesytem mbr : MBR sector bmp : BMP image png : PNG image - ext : ext filesystem + ext : EXT filesystem gpt : GUID Partition Table bpk : Binary PacKage bbenv : barebox environment file
common/bootm.c +2 -2
@@ -403,7 +403,7 @@ int bootm_boot(struct bootm_data *bootm_data)if (os_type == filetype_uimage) { ret =bootm_open_os_uimage (data);if (ret) { -printf ("loading os image failed with %s\n" , +printf ("Loading OS image failed with %s\n" ,strerror (-ret)); goto err_out; }
@@ -455,7 +455,7 @@ int bootm_boot(struct bootm_data *bootm_data)printf ("no image handler found for image type %s\n" ,file_type_to_string (os_type));if (os_type == filetype_uimage) -printf ("and os type: %d\n" , data->os->header.ih_os); +printf ("and OS type: %d\n" , data->os->header.ih_os); ret = -ENODEV ; goto err_out; }
common/filetype.c +10 -10
@@ -32,24 +32,24 @@ struct filetype_str {static const struct filetype_str filetype_str[] = { [filetype_unknown] = {"unknown" ,"unkown" }, - [filetype_arm_zimage] = {"arm Linux zImage" ,"arm-zimage" }, - [filetype_lzo_compressed] = {"lzo compressed" ,"lzo" }, - [filetype_lz4_compressed] = {"lz4 compressed" ,"lz4" }, - [filetype_arm_barebox] = {"arm barebox image" ,"arm-barebox" }, + [filetype_arm_zimage] = {"ARM Linux zImage" ,"arm-zimage" }, + [filetype_lzo_compressed] = {"LZO compressed" ,"lzo" }, + [filetype_lz4_compressed] = {"LZ4 compressed" ,"lz4" }, + [filetype_arm_barebox] = {"ARM barebox image" ,"arm-barebox" }, [filetype_uimage] = {"U-Boot uImage" ,"u-boot" }, [filetype_ubi] = {"UBI image" ,"ubi" }, [filetype_jffs2] = {"JFFS2 image" ,"jffs2" }, - [filetype_gzip] = {"gzip compressed" ,"gzip" }, - [filetype_bzip2] = {"bzip2 compressed" ,"bzip2" }, - [filetype_oftree] = {"open firmware flat device tree" ,"dtb" }, - [filetype_aimage] = {"Android boot image" ,"android" }, - [filetype_sh] = {"Bourne Shell" ,"sh" }, + [filetype_gzip] = {"GZIP compressed" ,"gzip" }, + [filetype_bzip2] = {"BZIP2 compressed" ,"bzip2" }, + [filetype_oftree] = {"open firmware Device Tree flattened Binary" ,"dtb" }, + [filetype_aimage] = {"android boot image" ,"android" }, + [filetype_sh] = {"bourne SHell" ,"sh" }, [filetype_mips_barebox] = {"MIPS barebox image" ,"mips-barebox" }, [filetype_fat] = {"FAT filesytem" ,"fat" }, [filetype_mbr] = {"MBR sector" ,"mbr" }, [filetype_bmp] = {"BMP image" ,"bmp" }, [filetype_png] = {"PNG image" ,"png" }, - [filetype_ext] = {"ext filesystem" ,"ext" }, + [filetype_ext] = {"EXT filesystem" ,"ext" }, [filetype_gpt] = {"GUID Partition Table" ,"gpt" }, [filetype_bpk] = {"Binary PacKage" ,"bpk" }, [filetype_barebox_env] = {"barebox environment file" ,"bbenv" },
lib/decompress_bunzip2.c +1 -1
@@ -15,7 +15,7 @@ More efficient reading of Huffman codes, a streamlined read_bunzip() function, and various other tweaks. In (limited) tests, approximately - 20% faster than bzcat on x86 and about 10% faster on arm. + 20% faster than bzcat on x86 and about 10% faster on ARM. Note that about 2/3 of the time is spent in read_unzip() reversing the Burrows-Wheeler transformation. Much of that time is delay
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 8/10 bootm: beautify output
In reply to Holger Schurig* fix indentation of options in 'help bootm'
* add missing help for -m
* put some output into debug/verbose mode
--- arch/arm/lib/armlinux.c | 2 +- commands/Kconfig | 15 ++++++++++----- commands/bootm.c | 15 ++++++++------- common/bootm.c | 4 ++-- 4 files changed, 21 insertions(+), 15 deletions(-)
arch/arm/lib/armlinux.c +1 -1
@@ -261,7 +261,7 @@ void start_linux(void *adr, int swap, unsigned long initrd_address,int architecture;if (oftree) { -printf ("booting kernel with devicetree\n" ); +pr_debug ("booting kernel with devicetree\n" ); params = oftree; }else {setup_tags (initrd_address, initrd_size, swap);
commands/Kconfig +10 -5
@@ -288,11 +288,16 @@ config CMD_BOOT one succeeds. Options: - -v Increase verbosity - -d Dryrun. See what happens but do no actually boot - -l List available boot sources - -m Show a menu with boot options - -t SECS specify timeout in SECS + -c crc check uImage data + -d dryrun: check data, but do not run + -f load images even if type is undetectable + -r INITRD specify an initrd image + -L ADDR specify initrd load address + -a ADDR specify os load address + -e OFFS entry point to the image relative to start (0) + -o DTS specify open firmware device tree + -v verbose + config CMD_BOOTM tristate
commands/bootm.c +8 -7
@@ -142,16 +142,17 @@ err_out: BAREBOX_CMD_HELP_START(bootm) BAREBOX_CMD_HELP_TEXT("Options:") -BAREBOX_CMD_HELP_OPT ("-c", "crc check uImage data") -BAREBOX_CMD_HELP_OPT ("-d", "dryrun. Check data, but do not run") +BAREBOX_CMD_HELP_OPT ("-c\t", "crc check uImage data") +BAREBOX_CMD_HELP_OPT ("-d\t", "dryrun: check data, but do not run") +BAREBOX_CMD_HELP_OPT ("-f\t", "load images even if type is undetectable") #ifdef CONFIG_CMD_BOOTM_INITRD BAREBOX_CMD_HELP_OPT ("-r INITRD","specify an initrd image") -BAREBOX_CMD_HELP_OPT ("-L ADDR","specify initrd load address") +BAREBOX_CMD_HELP_OPT ("-L ADDR\t","specify initrd load address") #endif -BAREBOX_CMD_HELP_OPT ("-a ADDR","specify os load address") -BAREBOX_CMD_HELP_OPT ("-e OFFS","entry point to the image relative to start (0)") +BAREBOX_CMD_HELP_OPT ("-a ADDR\t","specify os load address") +BAREBOX_CMD_HELP_OPT ("-e OFFS\t","entry point to the image relative to start (0)")#ifdef CONFIG_OFTREE -BAREBOX_CMD_HELP_OPT ("-o DTS","specify device tree") +BAREBOX_CMD_HELP_OPT ("-o DTS\t","specify open firmware device tree")#endif #ifdef CONFIG_CMD_BOOTM_VERBOSE BAREBOX_CMD_HELP_OPT ("-v\t" ,"verbose" )
@@ -161,7 +162,7 @@ BAREBOX_CMD_HELP_ENDBAREBOX_CMD_START (bootm) .cmd = do_bootm, BAREBOX_CMD_DESC("boot an application image") - BAREBOX_CMD_OPTS("[-cd" + BAREBOX_CMD_OPTS("[-cdf" #ifdef CONFIG_CMD_BOOTM_INITRD "rL" #endif
common/bootm.c +2 -2
@@ -428,7 +428,7 @@ int bootm_boot(struct bootm_data *bootm_data) } } -printf ("\nLoading OS %s '%s'" ,file_type_to_string (os_type), +printf ("\nLoading %s '%s'" ,file_type_to_string (os_type), data->os_file);if (os_type == filetype_uimage && data->os->header.ih_type ==IH_TYPE_MULTI )
@@ -442,7 +442,7 @@ int bootm_boot(struct bootm_data *bootm_data) goto err_out; }else { data->of_root_node =of_get_root_node (); -if (data->of_root_node) +if (bootm_verbose (data) >1 && data->of_root_node)printf ("using internal devicetree\n" ); } }
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
PATCH 10/10 device drivers: harmonize underscore in driver names
In reply to Holger SchurigSome device names were in the form "imx_spi", others in the form "imx-gpt". As most device names used the dash and not the underscore, this device driver harmonizes them all.
--- arch/arm/boards/at91rm9200ek/init.c | 8 ++++---- arch/arm/boards/at91sam9261ek/init.c | 4 ++-- arch/arm/boards/at91sam9m10g45ek/init.c | 2 +- arch/arm/boards/nhk8815/setup.c | 2 +- arch/arm/boards/phytec-phycore-imx27/pcm970.c | 2 +- arch/arm/boards/tny-a926x/init.c | 4 ++-- arch/arm/boards/usb-a926x/init.c | 4 ++-- arch/arm/mach-imx/iim.c | 2 +- arch/arm/mach-imx/imx25.c | 2 +- arch/arm/mach-imx/imx27.c | 2 +- arch/arm/mach-imx/imx31.c | 2 +- arch/arm/mach-imx/imx35.c | 2 +- arch/arm/mach-imx/imx51.c | 2 +- arch/arm/mach-imx/imx53.c | 2 +- arch/arm/mach-imx/ocotp.c | 2 +- arch/mips/mach-ar231x/ar231x_reset.c | 2 +- arch/nios2/boards/generic/generic.c | 2 +- arch/x86/boards/x86_generic/intf_platform_ide.c | 4 ++-- drivers/ata/intf_platform_ide.c | 2 +- drivers/clk/clk-ar933x.c | 2 +- drivers/clocksource/arm_smp_twd.c | 2 +- drivers/clocksource/nomadik.c | 2 +- drivers/gpio/gpio-davinci.c | 2 +- drivers/gpio/gpio-pl061.c | 2 +- drivers/input/gpio_keys.c | 2 +- drivers/input/twl6030_pwrbtn.c | 2 +- drivers/mci/atmel_mci.c | 2 +- drivers/mci/dw_mmc.c | 2 +- drivers/mci/mci-bcm2835.c | 2 +- drivers/mci/mci_spi.c | 2 +- drivers/mci/mxs.c | 2 +- drivers/mci/s3c.c | 2 +- drivers/mtd/devices/mtd_dataflash.c | 2 +- drivers/mtd/nand/atmel_nand.c | 2 +- drivers/mtd/nand/nand_imx.c | 2 +- drivers/mtd/nand/nand_mxs.c | 2 +- drivers/mtd/nand/nand_omap_gpmc.c | 4 ++-- drivers/mtd/nand/nand_s3c24xx.c | 2 +- drivers/mtd/nand/nomadik_nand.c | 2 +- drivers/mtd/nor/cfi_flash.c | 2 +- drivers/net/altera_tse.c | 2 +- drivers/net/ar231x.c | 2 +- drivers/net/arc_emac.c | 2 +- drivers/net/at91_ether.c | 2 +- drivers/net/cpsw.c | 2 +- drivers/net/cs8900.c | 2 +- drivers/net/davinci_emac.c | 2 +- drivers/net/designware.c | 2 +- drivers/net/dm9k.c | 2 +- drivers/net/ep93xx.c | 2 +- drivers/net/ethoc.c | 2 +- drivers/net/fec_imx.c | 2 +- drivers/net/fec_mpc5200.c | 2 +- drivers/net/gianfar.c | 6 +++--- drivers/net/ks8851_mll.c | 2 +- drivers/net/ksz8864rmn.c | 2 +- drivers/net/macb.c | 2 +- drivers/net/netx_eth.c | 2 +- drivers/net/orion-gbe.c | 2 +- drivers/net/phy/mdio_bus.c | 2 +- drivers/net/smc91111.c | 2 +- drivers/net/smc911x.c | 2 +- drivers/net/tap.c | 2 +- drivers/net/xgmac.c | 2 +- drivers/pwm/pxa_pwm.c | 2 +- drivers/serial/arm_dcc.c | 4 ++-- drivers/serial/atmel.c | 2 +- drivers/serial/serial_altera.c | 2 +- drivers/serial/serial_altera_jtag.c | 2 +- drivers/serial/serial_ar933x.c | 2 +- drivers/serial/serial_auart.c | 2 +- drivers/serial/serial_blackfin.c | 2 +- drivers/serial/serial_cadence.c | 2 +- drivers/serial/serial_imx.c | 2 +- drivers/serial/serial_mpc5xxx.c | 2 +- drivers/serial/serial_netx.c | 2 +- drivers/serial/serial_ns16550.c | 2 +- drivers/serial/serial_omap4_usbboot.c | 2 +- drivers/serial/serial_pl010.c | 2 +- drivers/serial/serial_pxa.c | 2 +- drivers/serial/serial_s3c.c | 2 +- drivers/serial/stm-serial.c | 2 +- drivers/spi/altera_spi.c | 2 +- drivers/spi/atmel_spi.c | 2 +- drivers/spi/imx_spi.c | 2 +- drivers/spi/mxs_spi.c | 2 +- drivers/usb/gadget/dfu.c | 2 +- drivers/usb/gadget/serial.c | 2 +- drivers/usb/host/ohci-at91.c | 2 +- drivers/video/atmel_hlcdfb.c | 2 +- drivers/video/atmel_lcdfb.c | 2 +- drivers/video/bcm2835.c | 2 +- drivers/video/imx.c | 2 +- drivers/video/omap.c | 2 +- drivers/video/pxa.c | 2 +- drivers/video/s3c24xx.c | 2 +- drivers/video/sdl.c | 2 +- drivers/video/stm.c | 2 +- drivers/w1/w1.c | 4 ++-- fs/omap4_usbbootfs.c | 2 +- 100 files changed, 112 insertions(+), 112 deletions(-)
arch/arm/boards/at91rm9200ek/init.c +4 -4
@@ -108,13 +108,13 @@ static void ek_add_device_udc(void) {}static struct spi_board_info ek_dataflash_spi_devices[] = { {/* DataFlash chip */ - .name ="mtd_dataflash" , + .name ="mtd-dataflash" , .chip_select =0 , .max_speed_hz =15 *1000 *1000 , }, #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD {/* DataFlash card */ - .name ="mtd_dataflash" , + .name ="mtd-dataflash" , .chip_select =1 , .max_speed_hz =15 *1000 *1000 , },
@@ -124,14 +124,14 @@ static struct spi_board_info ek_dataflash_spi_devices[] = {static struct spi_board_info ek_mmc_spi_devices[] = { #if !defined(CONFIG_MTD_DATAFLASH) { - .name ="spi_mci" , + .name ="spi-mci" , .chip_select =0 , .max_speed_hz =20 *1000 *1000 , }, #endif #if !defined(CONFIG_MTD_AT91_DATAFLASH_CARD) { - .name ="spi_mci" , + .name ="spi-mci" , .chip_select =1 , .max_speed_hz =20 *1000 *1000 , },
arch/arm/boards/at91sam9261ek/init.c +2 -2
@@ -320,14 +320,14 @@ static void ek_device_add_leds(void) {}*/ static struct spi_board_info ek_spi_devices[] = { {/* DataFlash chip */ - .name ="mtd_dataflash" , + .name ="mtd-dataflash" , .chip_select =0 , .max_speed_hz =15 *1000 *1000 , .bus_num =0 , }, #if defined(CONFIG_MTD_AT91_DATAFLASH_CARD) {/* DataFlash card - jumper (J12) configurable to CS3 or CS0 */ - .name ="mtd_dataflash" , + .name ="mtd-dataflash" , .chip_select =1 , .max_speed_hz =15 *1000 *1000 , .bus_num =0 ,
arch/arm/boards/at91sam9m10g45ek/init.c +1 -1
@@ -129,7 +129,7 @@ static void ek_add_device_mci(void) {}static const struct spi_board_info ek_spi_devices[] = { { - .name ="mtd_dataflash" , + .name ="mtd-dataflash" , .chip_select =0 , .max_speed_hz =15 *1000 *1000 , .bus_num =0 ,
arch/arm/boards/nhk8815/setup.c +1 -1
@@ -67,7 +67,7 @@ static struct resource nhk8815_nand_resources[] = {static struct device_d nhk8815_nand_device = { .id =DEVICE_ID_DYNAMIC , - .name ="nomadik_nand" , + .name ="nomadik-nand" , .num_resources =ARRAY_SIZE (nhk8815_nand_resources), .resource = nhk8815_nand_resources, .platform_data = &nhk8815_nand_data,
arch/arm/boards/phytec-phycore-imx27/pcm970.c +1 -1
@@ -48,7 +48,7 @@ static struct ide_port_info pcm970_ide_pdata = {static struct device_d pcm970_ide_device = { .id =DEVICE_ID_DYNAMIC , - .name ="ide_intf" , + .name ="ide-intf" , .num_resources =ARRAY_SIZE (pcm970_ide_resources), .resource = pcm970_ide_resources, .platform_data = &pcm970_ide_pdata,
arch/arm/boards/tny-a926x/init.c +2 -2
@@ -154,7 +154,7 @@ static struct spi_board_info tny_a9g20_spi_devices[] = {static struct spi_board_info tny_a9g20_lpw_spi_devices[] = { { - .name ="spi_mci" , + .name ="spi-mci" , .max_speed_hz =25 *1000 *1000 , .bus_num =1 , .chip_select =0 ,
@@ -163,7 +163,7 @@ static struct spi_board_info tny_a9g20_lpw_spi_devices[] = {static struct spi_board_info tny_a9263_spi_devices[] = { { - .name ="mtd_dataflash" , + .name ="mtd-dataflash" , .max_speed_hz =15 *1000 *1000 , .bus_num =0 , .chip_select =0 ,
arch/arm/boards/usb-a926x/init.c +2 -2
@@ -167,7 +167,7 @@ static void usb_a9260_add_device_eth(void) {} #if defined(CONFIG_DRIVER_SPI_ATMEL) static const struct spi_board_info usb_a9263_spi_devices[] = { { - .name = "mtd_dataflash", + .name = "mtd-dataflash", .chip_select = 0, .max_speed_hz = 15 * 1000 * 1000, .bus_num = 0,
@@ -176,7 +176,7 @@ static const struct spi_board_info usb_a9263_spi_devices[] = {static const struct spi_board_info usb_a9g20_spi_devices[] = { { - .name ="spi_mci" , + .name ="spi-mci" , .chip_select =0 , .max_speed_hz =25 *1000 *1000 , .bus_num =1 ,
arch/arm/mach-imx/iim.c +1 -1
@@ -34,7 +34,7 @@#include <mach/imx53-regs.h> #include <mach/clock-imx51_53.h> -#define DRIVERNAME "imx_iim" +#define DRIVERNAME "imx-iim"#define IIM_NUM_BANKS 8struct iim_priv ;
arch/arm/mach-imx/imx25.c +1 -1
@@ -63,7 +63,7 @@ int imx25_init(void)int imx25_devices_init (void ) { -add_generic_device ("imx_iim" ,0 ,NULL ,MX25_IIM_BASE_ADDR ,SZ_4K , +add_generic_device ("imx-iim" ,0 ,NULL ,MX25_IIM_BASE_ADDR ,SZ_4K ,IORESOURCE_MEM ,NULL );add_generic_device ("imx-iomuxv3" ,0 ,NULL ,MX25_IOMUXC_BASE_ADDR ,0x1000 ,IORESOURCE_MEM ,NULL );
arch/arm/mach-imx/imx27.c +1 -1
@@ -111,7 +111,7 @@ int imx27_devices_init(void) {imx_iomuxv1_init ((void *)MX27_GPIO1_BASE_ADDR ); -add_generic_device ("imx_iim" ,DEVICE_ID_SINGLE ,NULL , +add_generic_device ("imx-iim" ,DEVICE_ID_SINGLE ,NULL ,MX27_IIM_BASE_ADDR ,SZ_4K ,IORESOURCE_MEM ,NULL );imx27_init_max ();
arch/arm/mach-imx/imx31.c +1 -1
@@ -35,7 +35,7 @@ int imx31_init(void)int imx31_devices_init (void ) { -add_generic_device ("imx_iim" ,0 ,NULL ,MX31_IIM_BASE_ADDR ,SZ_4K , +add_generic_device ("imx-iim" ,0 ,NULL ,MX31_IIM_BASE_ADDR ,SZ_4K ,IORESOURCE_MEM ,NULL );add_generic_device ("imx31-iomux" ,0 ,NULL ,MX31_IOMUXC_BASE_ADDR ,0x1000 ,IORESOURCE_MEM ,NULL );
arch/arm/mach-imx/imx35.c +1 -1
@@ -63,7 +63,7 @@ int imx35_init(void)int imx35_devices_init (void ) { -add_generic_device ("imx_iim" ,0 ,NULL ,MX35_IIM_BASE_ADDR ,SZ_4K , +add_generic_device ("imx-iim" ,0 ,NULL ,MX35_IIM_BASE_ADDR ,SZ_4K ,IORESOURCE_MEM ,NULL );add_generic_device ("imx-iomuxv3" ,0 ,NULL ,MX35_IOMUXC_BASE_ADDR ,0x1000 ,IORESOURCE_MEM ,NULL );
arch/arm/mach-imx/imx51.c +1 -1
@@ -52,7 +52,7 @@ int imx51_init(void)int imx51_devices_init (void ) { -add_generic_device ("imx_iim" ,0 ,NULL ,MX51_IIM_BASE_ADDR ,SZ_4K , +add_generic_device ("imx-iim" ,0 ,NULL ,MX51_IIM_BASE_ADDR ,SZ_4K ,IORESOURCE_MEM ,NULL );add_generic_device ("imx-iomuxv3" ,0 ,NULL ,MX51_IOMUXC_BASE_ADDR ,0x1000 ,IORESOURCE_MEM ,NULL );
arch/arm/mach-imx/imx53.c +1 -1
@@ -61,7 +61,7 @@ int imx53_init(void)int imx53_devices_init (void ) { -add_generic_device ("imx_iim" ,0 ,NULL ,MX53_IIM_BASE_ADDR ,SZ_4K , +add_generic_device ("imx-iim" ,0 ,NULL ,MX53_IIM_BASE_ADDR ,SZ_4K ,IORESOURCE_MEM ,NULL );add_generic_device ("imx-iomuxv3" ,0 ,NULL ,MX53_IOMUXC_BASE_ADDR ,0x1000 ,IORESOURCE_MEM ,NULL );
arch/arm/mach-imx/ocotp.c +1 -1
@@ -448,7 +448,7 @@ static __maybe_unused struct of_device_id imx_ocotp_dt_ids[] = { };static struct driver_d imx_ocotp_driver = { - .name ="imx_ocotp" , + .name ="imx-ocotp" , .probe = imx_ocotp_probe, .of_compatible =DRV_OF_COMPAT (imx_ocotp_dt_ids), };
arch/mips/mach-ar231x/ar231x_reset.c +1 -1
@@ -63,7 +63,7 @@ static int ar231x_reset_probe(struct device_d *dev)static struct driver_d ar231x_reset_driver = { .probe = ar231x_reset_probe, - .name ="ar231x_reset" , + .name ="ar231x-reset" , };static int ar231x_reset_init (void )
arch/nios2/boards/generic/generic.c +1 -1
@@ -27,7 +27,7 @@ static struct resource mac_resources[] = {static struct device_d mac_dev = { .id =DEVICE_ID_DYNAMIC , - .name ="altera_tse" , + .name ="altera-tse" , .num_resources =ARRAY_SIZE (mac_resources), .resource = mac_resources, .platform_data = &phy_address,
arch/x86/boards/x86_generic/intf_platform_ide.c +2 -2
@@ -57,7 +57,7 @@ static struct resource secondary_ide_resources[] = { };static struct device_d primary_ide_device = { - .name ="ide_intf" , + .name ="ide-intf" , .id =0 , .platform_data = &ide_plat, .resource = primary_ide_resources,
@@ -65,7 +65,7 @@ static struct device_d primary_ide_device = { };static struct device_d secondary_ide_device = { - .name ="ide_intf" , + .name ="ide-intf" , .id =1 , .platform_data = &ide_plat, .resource = secondary_ide_resources,
drivers/ata/intf_platform_ide.c +1 -1
@@ -136,7 +136,7 @@ static int platform_ide_probe(struct device_d *dev) }static struct driver_d platform_ide_driver = { - .name ="ide_intf" , + .name ="ide-intf" , .probe = platform_ide_probe, };device_platform_driver (platform_ide_driver);
drivers/clk/clk-ar933x.c +1 -1
@@ -164,7 +164,7 @@ static __maybe_unused struct of_device_id ar933x_clk_dt_ids[] = {static struct driver_d ar933x_clk_driver = { .probe = ar933x_clk_probe, - .name ="ar933x_clk" , + .name ="ar933x-clk" , .of_compatible =DRV_OF_COMPAT (ar933x_clk_dt_ids), };
drivers/clocksource/arm_smp_twd.c +1 -1
@@ -98,7 +98,7 @@ static __maybe_unused struct of_device_id smp_twd_compatible[] = { };static struct driver_d smp_twd_driver = { - .name ="smp_twd" , + .name ="smp-twd" , .probe = smp_twd_probe, .of_compatible =DRV_OF_COMPAT (smp_twd_compatible), };
drivers/clocksource/nomadik.c +1 -1
@@ -136,7 +136,7 @@ static int nmdk_mtu_probe(struct device_d *dev) }static struct driver_d nmdk_mtu_driver = { - .name ="nomadik_mtu" , + .name ="nomadik-mtu" , .probe = nmdk_mtu_probe, };
drivers/gpio/gpio-davinci.c +1 -1
@@ -199,7 +199,7 @@ static struct of_device_id davinci_gpio_ids[] = { };static struct driver_d davinci_gpio_driver = { - .name ="davinci_gpio" , + .name ="davinci-gpio" , .probe = davinci_gpio_probe, .of_compatible =DRV_OF_COMPAT (davinci_gpio_ids), };
drivers/gpio/gpio-pl061.c +1 -1
@@ -141,7 +141,7 @@ static struct amba_id pl061_ids[] = {static struct amba_driver pl061_gpio_driver = { .drv = { - .name ="pl061_gpio" , + .name ="pl061-gpio" , }, .id_table = pl061_ids, .probe = pl061_probe,
drivers/input/gpio_keys.c +1 -1
@@ -201,7 +201,7 @@ static struct of_device_id key_gpio_of_ids[] = { };static struct driver_d gpio_keys_driver = { - .name ="gpio_keys" , + .name ="gpio-keys" , .probe = gpio_keys_probe, .of_compatible =DRV_OF_COMPAT (key_gpio_of_ids), };
drivers/input/twl6030_pwrbtn.c +1 -1
@@ -101,7 +101,7 @@ static int __init twl6030_pwrbtn_probe(struct device_d *dev) }static struct driver_d twl6030_pwrbtn_driver = { - .name ="twl6030_pwrbtn" , + .name ="twl6030-pwrbtn" , .probe = twl6030_pwrbtn_probe, };device_platform_driver (twl6030_pwrbtn_driver);
drivers/mci/atmel_mci.c +1 -1
@@ -617,7 +617,7 @@ err_gpio_cd_request: }static struct driver_d atmci_driver = { - .name ="atmel_mci" , + .name ="atmel-mmc" , .probe = atmci_probe, };device_platform_driver (atmci_driver);
drivers/mci/dw_mmc.c +1 -1
@@ -602,7 +602,7 @@ static __maybe_unused struct of_device_id dw_mmc_compatible[] = { };static struct driver_d dw_mmc_driver = { - .name ="dw_mmc" , + .name ="dw-mmc" , .probe = dw_mmc_probe, .of_compatible =DRV_OF_COMPAT (dw_mmc_compatible), };
drivers/mci/mci-bcm2835.c +1 -1
@@ -541,7 +541,7 @@ static int bcm2835_mci_probe(struct device_d *hw_dev) }static struct driver_d bcm2835_mci_driver = { - .name ="bcm2835_mci" , + .name ="bcm2835-mci" , .probe = bcm2835_mci_probe, };
drivers/mci/mci_spi.c +1 -1
@@ -440,7 +440,7 @@ static int spi_mci_probe(struct device_d *dev) }static struct driver_d spi_mci_driver = { - .name ="spi_mci" , + .name ="spi-mci" , .probe = spi_mci_probe, };device_spi_driver (spi_mci_driver);
drivers/mci/mxs.c +1 -1
@@ -607,7 +607,7 @@ static int mxs_mci_probe(struct device_d *hw_dev) }static struct driver_d mxs_mci_driver = { - .name ="mxs_mci" , + .name ="mxs-mci" , .probe = mxs_mci_probe, };device_platform_driver (mxs_mci_driver);
drivers/mci/s3c.c +1 -1
@@ -762,7 +762,7 @@ static int s3c_mci_probe(struct device_d *hw_dev) }static struct driver_d s3c_mci_driver = { - .name ="s3c_mci" , + .name ="s3c-mci" , .probe = s3c_mci_probe, };device_platform_driver (s3c_mci_driver);
drivers/mtd/devices/mtd_dataflash.c +1 -1
@@ -883,7 +883,7 @@ static __maybe_unused struct of_device_id dataflash_dt_ids[] = { };static struct driver_d dataflash_driver = { - .name ="mtd_dataflash" , + .name ="mtd-dataflash" , .probe = dataflash_probe, .of_compatible =DRV_OF_COMPAT (dataflash_dt_ids), };
drivers/mtd/nand/atmel_nand.c +1 -1
@@ -1243,7 +1243,7 @@ err_no_card: }static struct driver_d atmel_nand_driver = { - .name ="atmel_nand" , + .name ="atmel-nand" , .probe = atmel_nand_probe, };device_platform_driver (atmel_nand_driver);
drivers/mtd/nand/nand_imx.c +1 -1
@@ -1318,7 +1318,7 @@ static __maybe_unused struct of_device_id imx_nand_compatible[] = { };static struct driver_d imx_nand_driver = { - .name ="imx_nand" , + .name ="imx-nand" , .probe = imxnd_probe, .of_compatible =DRV_OF_COMPAT (imx_nand_compatible), };
drivers/mtd/nand/nand_mxs.c +1 -1
@@ -1347,7 +1347,7 @@ static __maybe_unused struct of_device_id gpmi_dt_ids[] = { };static struct driver_d mxs_nand_driver = { - .name ="mxs_nand" , + .name ="mxs-nand" , .probe = mxs_nand_probe, .of_compatible =DRV_OF_COMPAT (gpmi_dt_ids), };
drivers/mtd/nand/nand_omap_gpmc.c +2 -2
@@ -12,7 +12,7 @@* * @code * static struct device_d my_nand_device = { -* .name = "gpmc_nand", +* .name = "gpmc-nand", * .id = some identifier you need to show.. e.g. "gpmc_nand0" * .resource[0].start = GPMC base address * .resource[0].size = GPMC address map size.
@@ -1071,7 +1071,7 @@ out_release_mem:/** GMPC nand driver -> device registered by platforms */ static struct driver_d gpmc_nand_driver = { - .name ="gpmc_nand" , + .name ="gpmc-nand" , .probe = gpmc_nand_probe, };device_platform_driver (gpmc_nand_driver);
drivers/mtd/nand/nand_s3c24xx.c +1 -1
@@ -494,7 +494,7 @@ on_error: }static struct driver_d s3c24x0_nand_driver = { - .name ="s3c24x0_nand" , + .name ="s3c24x0-nand" , .probe = s3c24x0_nand_probe, };device_platform_driver (s3c24x0_nand_driver);
drivers/mtd/nand/nomadik_nand.c +1 -1
@@ -233,7 +233,7 @@ err:static struct driver_d nomadik_nand_driver = { .probe = nomadik_nand_probe, - .name ="nomadik_nand" , + .name ="nomadik-nand" , };device_platform_driver (nomadik_nand_driver);
drivers/mtd/nor/cfi_flash.c +1 -1
@@ -1006,7 +1006,7 @@ static __maybe_unused struct of_device_id cfi_dt_ids[] = { };static struct driver_d cfi_driver = { - .name ="cfi_flash" , + .name ="cfi-flash" , .probe = cfi_probe, .of_compatible =DRV_OF_COMPAT (cfi_dt_ids), };
drivers/net/altera_tse.c +1 -1
@@ -554,7 +554,7 @@ static int tse_probe(struct device_d *dev) }static struct driver_d altera_tse_driver = { - .name ="altera_tse" , + .name ="altera-tse" , .probe = tse_probe, };device_platform_driver (altera_tse_driver);
drivers/net/ar231x.c +1 -1
@@ -420,7 +420,7 @@ static int ar231x_eth_probe(struct device_d *dev) }static struct driver_d ar231x_eth_driver = { - .name ="ar231x_eth" , + .name ="eth-ar231x" , .probe = ar231x_eth_probe, };
drivers/net/arc_emac.c +1 -1
@@ -452,7 +452,7 @@ static __maybe_unused struct of_device_id arc_emac_dt_ids[] = { };static struct driver_d arc_emac_driver = { - .name ="arc-emac" , + .name ="eth-emac" , .probe = arc_emac_probe, .of_compatible =DRV_OF_COMPAT (arc_emac_dt_ids), };
drivers/net/at91_ether.c +1 -1
@@ -358,7 +358,7 @@ static int at91_ether_probe(struct device_d *dev) }static struct driver_d at91_ether_driver = { - .name ="at91_ether" , + .name ="eth-at91" , .probe = at91_ether_probe, };device_platform_driver (at91_ether_driver);
drivers/net/cpsw.c +1 -1
@@ -1219,7 +1219,7 @@ static __maybe_unused struct of_device_id cpsw_dt_ids[] = { };static struct driver_d cpsw_driver = { - .name ="cpsw" , + .name ="eth-cpsw" , .probe = cpsw_probe, .of_compatible =DRV_OF_COMPAT (cpsw_dt_ids), };
drivers/net/cs8900.c +1 -1
@@ -466,7 +466,7 @@ static int cs8900_probe(struct device_d *dev) }static struct driver_d cs8900_driver = { - .name ="cs8900" , + .name ="eth-cs8900" , .probe = cs8900_probe, };device_platform_driver (cs8900_driver);
drivers/net/davinci_emac.c +1 -1
@@ -604,7 +604,7 @@ static void davinci_emac_remove(struct device_d *dev) }static struct driver_d davinci_emac_driver = { - .name ="davinci_emac" , + .name ="eth-emac" , .probe = davinci_emac_probe, .remove = davinci_emac_remove, };
drivers/net/designware.c +1 -1
@@ -487,7 +487,7 @@ static __maybe_unused struct of_device_id dwc_ether_compatible[] = { };static struct driver_d dwc_ether_driver = { - .name ="designware_eth" , + .name ="eth-designware" , .probe = dwc_ether_probe, .of_compatible =DRV_OF_COMPAT (dwc_ether_compatible), };
drivers/net/dm9k.c +1 -1
@@ -783,7 +783,7 @@ static int dm9k_probe(struct device_d *dev) }static struct driver_d dm9k_driver = { - .name ="dm9000" , + .name ="eth-dm9000" , .probe = dm9k_probe, };device_platform_driver (dm9k_driver);
drivers/net/ep93xx.c +1 -1
@@ -660,7 +660,7 @@ static int ep93xx_phy_write(struct mii_bus *bus, int phy_addr, }static struct driver_d ep93xx_eth_driver = { - .name ="ep93xx_eth" , + .name ="eth-ep93xx" , .probe = ep93xx_eth_probe, };device_platform_driver (ep93xx_eth_driver);
drivers/net/ethoc.c +1 -1
@@ -566,7 +566,7 @@ static int ethoc_probe(struct device_d *dev) }static struct driver_d ethoc_driver = { - .name ="ethoc" , + .name ="eth-oc" , .probe = ethoc_probe, };device_platform_driver (ethoc_driver);
drivers/net/fec_imx.c +1 -1
@@ -796,7 +796,7 @@ static struct platform_device_id imx_fec_ids[] = {* Driver description for registering */ static struct driver_d fec_driver = { - .name ="fec_imx" , + .name ="imx-fec" , .probe = fec_probe, .remove = fec_remove, .of_compatible =DRV_OF_COMPAT (imx_fec_dt_ids),
drivers/net/fec_mpc5200.c +1 -1
@@ -682,7 +682,7 @@ static void mpc5xxx_fec_remove(struct device_d *dev) }static struct driver_d mpc5xxx_driver = { - .name ="fec_mpc5xxx" , + .name ="eth-mpc5xxx" , .probe = mpc5xxx_fec_probe, .remove = mpc5xxx_fec_remove, };
drivers/net/gianfar.c +3 -3
@@ -540,7 +540,7 @@ static int gfar_probe(struct device_d *dev) }static struct driver_d gfar_eth_driver = { - .name ="gfar" , + .name ="eth-gianfar" , .probe = gfar_probe, };device_platform_driver (gfar_eth_driver);
@@ -571,7 +571,7 @@ static int gfar_phy_probe(struct device_d *dev) }static struct driver_d gfar_phy_driver = { - .name ="gfar-mdio" , + .name ="eth-gianfar-mdio" , .probe = gfar_phy_probe, };register_driver_macro (coredevice, platform, gfar_phy_driver);
@@ -601,7 +601,7 @@ static int gfar_tbiphy_probe(struct device_d *dev) }static struct driver_d gfar_tbiphy_driver = { - .name ="gfar-tbiphy" , + .name ="eth-gianfar-tbiphy" , .probe = gfar_tbiphy_probe, };register_driver_macro (coredevice, platform, gfar_tbiphy_driver);
drivers/net/ks8851_mll.c +1 -1
@@ -870,7 +870,7 @@ static int ks8851_probe(struct device_d *dev) }static struct driver_d ks8851_driver = { - .name ="ks8851_mll" , + .name ="eth-ks8851" , .probe = ks8851_probe, };device_platform_driver (ks8851_driver);
drivers/net/ksz8864rmn.c +1 -1
@@ -171,7 +171,7 @@ static int micrel_switch_probe(struct device_d *dev) }static struct driver_d micrel_switch_driver = { - .name ="ksz8864rmn" , + .name ="eth-ksz8864rmn" , .probe = micrel_switch_probe, };device_spi_driver (micrel_switch_driver);
drivers/net/macb.c +1 -1
@@ -686,7 +686,7 @@ static int macb_probe(struct device_d *dev) }static struct driver_d macb_driver = { - .name ="macb" , + .name ="eth-macb" , .probe = macb_probe, };device_platform_driver (macb_driver);
drivers/net/netx_eth.c +1 -1
@@ -273,7 +273,7 @@ static int netx_eth_probe(struct device_d *dev) }static struct driver_d netx_eth_driver = { - .name ="netx-eth" , + .name ="eth-netx" , .probe = netx_eth_probe, };device_platform_driver (netx_eth_driver);
drivers/net/orion-gbe.c +1 -1
@@ -539,7 +539,7 @@ static struct of_device_id orion_gbe_dt_ids[] = { };static struct driver_d orion_gbe_driver = { - .name ="orion-gbe" , + .name ="eth-gbe" , .probe = orion_gbe_probe, .remove = orion_gbe_remove, .of_compatible =DRV_OF_COMPAT (orion_gbe_dt_ids),
drivers/net/phy/mdio_bus.c +1 -1
@@ -340,7 +340,7 @@ static void mdio_bus_remove(struct device_d *_dev) }struct bus_type mdio_bus_type = { - .name ="mdio_bus" , + .name ="mdio-bus" , .match = mdio_bus_match, .probe = mdio_bus_probe, .remove = mdio_bus_remove,
drivers/net/smc91111.c +1 -1
@@ -1340,7 +1340,7 @@ static int smc91c111_probe(struct device_d *dev) }static struct driver_d smc91c111_driver = { - .name ="smc91c111" , + .name ="eth-smc91c111" , .probe = smc91c111_probe, };device_platform_driver (smc91c111_driver);
drivers/net/smc911x.c +1 -1
@@ -631,7 +631,7 @@ static int smc911x_probe(struct device_d *dev) }static struct driver_d smc911x_driver = { - .name ="smc911x" , + .name ="eth-smc911x" , .probe = smc911x_probe, };device_platform_driver (smc911x_driver);
drivers/net/tap.c +1 -1
@@ -106,7 +106,7 @@ out: }static struct driver_d tap_driver = { - .name ="tap" , + .name ="eth-tap" , .probe = tap_probe, };device_platform_driver (tap_driver);
drivers/net/xgmac.c +1 -1
@@ -727,7 +727,7 @@ static __maybe_unused struct of_device_id xgmac_dt_ids[] = { };static struct driver_d hb_xgmac_driver = { - .name ="hb-xgmac" , + .name ="eth-hb-xgmac" , .probe = hb_xgmac_probe, .of_compatible =DRV_OF_COMPAT (xgmac_dt_ids), };
drivers/pwm/pxa_pwm.c +1 -1
@@ -143,7 +143,7 @@ static int pxa_pwm_probe(struct device_d *dev) }static struct driver_d pxa_pwm_driver = { - .name ="pxa_pwm" , + .name ="pxa-pwm" , .probe = pxa_pwm_probe, };
drivers/serial/arm_dcc.c +2 -2
@@ -145,14 +145,14 @@ static int arm_dcc_probe(struct device_d *dev) }static struct driver_d arm_dcc_driver = { - .name ="arm_dcc" , + .name ="arm-dcc" , .probe = arm_dcc_probe, };console_platform_driver (arm_dcc_driver);static struct device_d arm_dcc_device = { .id =DEVICE_ID_DYNAMIC , - .name ="arm_dcc" , + .name ="arm-dcc" , };static int arm_dcc_init (void )
drivers/serial/atmel.c +1 -1
@@ -439,7 +439,7 @@ static int atmel_serial_probe(struct device_d *dev) }static struct driver_d atmel_serial_driver = { - .name ="atmel_usart" , + .name ="atmel-usart" , .probe = atmel_serial_probe, };console_platform_driver (atmel_serial_driver);
drivers/serial/serial_altera.c +1 -1
@@ -97,7 +97,7 @@ static int altera_serial_probe(struct device_d *dev) }static struct driver_d altera_serial_driver = { - .name ="altera_serial" , + .name ="altera-serial" , .probe = altera_serial_probe, };console_platform_driver (altera_serial_driver);
drivers/serial/serial_altera_jtag.c +1 -1
@@ -102,7 +102,7 @@ static int altera_serial_jtag_probe(struct device_d *dev) { }static struct driver_d altera_serial_jtag_driver = { - .name ="altera_serial_jtag" , + .name ="altera-serial-jtag" , .probe = altera_serial_jtag_probe, };console_platform_driver (altera_serial_jtag_driver);
drivers/serial/serial_ar933x.c +1 -1
@@ -197,7 +197,7 @@ static struct of_device_id ar933x_serial_dt_ids[] = { };static struct driver_d ar933x_serial_driver = { - .name ="ar933x_serial" , + .name ="ar933x-serial" , .probe = ar933x_serial_probe, .of_compatible =DRV_OF_COMPAT (ar933x_serial_dt_ids), };
drivers/serial/serial_auart.c +1 -1
@@ -228,7 +228,7 @@ static void auart_serial_remove(struct device_d *dev) }static struct driver_d auart_serial_driver = { - .name ="auart_serial" , + .name ="auart-serial" , .probe = auart_serial_probe, .remove = auart_serial_remove, };
drivers/serial/serial_blackfin.c +1 -1
@@ -126,7 +126,7 @@ static int blackfin_serial_probe(struct device_d *dev) }static struct driver_d blackfin_serial_driver = { - .name ="blackfin_serial" , + .name ="blackfin-serial" , .probe = blackfin_serial_probe, };console_platform_driver (blackfin_serial_driver);
drivers/serial/serial_cadence.c +1 -1
@@ -292,7 +292,7 @@ static struct platform_device_id cadence_serial_ids[] = { };static struct driver_d cadence_serial_driver = { - .name ="cadence_serial" , + .name ="cadence-serial" , .probe = cadence_serial_probe, .remove = cadence_serial_remove, .of_compatible =DRV_OF_COMPAT (cadence_serial_dt_ids),
drivers/serial/serial_imx.c +1 -1
@@ -391,7 +391,7 @@ static struct platform_device_id imx_serial_ids[] = { };static struct driver_d imx_serial_driver = { - .name ="imx_serial" , + .name ="imx-serial" , .probe = imx_serial_probe, .remove = imx_serial_remove, .of_compatible =DRV_OF_COMPAT (imx_serial_dt_ids),
drivers/serial/serial_mpc5xxx.c +1 -1
@@ -162,7 +162,7 @@ static int mpc5xxx_serial_probe(struct device_d *dev) }static struct driver_d mpc5xxx_serial_driver = { - .name ="mpc5xxx_serial" , + .name ="mpc5xxx-serial" , .probe = mpc5xxx_serial_probe, };console_platform_driver (mpc5xxx_serial_driver);
drivers/serial/serial_netx.c +1 -1
@@ -151,7 +151,7 @@ static int netx_serial_probe(struct device_d *dev) }static struct driver_d netx_serial_driver = { - .name ="netx_serial" , + .name ="netx-serial" , .probe = netx_serial_probe, };console_platform_driver (netx_serial_driver);
drivers/serial/serial_ns16550.c +1 -1
@@ -496,7 +496,7 @@ static __maybe_unused struct platform_device_id ns16550_serial_ids[] = {* @brief Driver registration structure */ static struct driver_d ns16550_serial_driver = { - .name ="ns16550_serial" , + .name ="ns16550-serial" , .probe = ns16550_probe, .of_compatible =DRV_OF_COMPAT (ns16550_serial_dt_ids), #if IS_ENABLED(CONFIG_ARCH_OMAP)
drivers/serial/serial_omap4_usbboot.c +1 -1
@@ -71,7 +71,7 @@ static int serial_omap4_usbboot_probe(struct device_d *dev) }static struct driver_d serial_omap4_usbboot_driver = { - .name ="serial_omap4_usbboot" , + .name ="omap4-usbboot-serial" , .probe = serial_omap4_usbboot_probe, };console_platform_driver (serial_omap4_usbboot_driver);
drivers/serial/serial_pl010.c +1 -1
@@ -153,7 +153,7 @@ static int pl010_probe(struct device_d *dev) }static struct driver_d pl010_driver = { - .name ="pl010_serial" , + .name ="pl010-serial" , .probe = pl010_probe, };console_platform_driver (pl010_driver);
drivers/serial/serial_pxa.c +1 -1
@@ -190,7 +190,7 @@ static void pxa_serial_remove(struct device_d *dev) }static struct driver_d pxa_serial_driver = { - .name ="pxa_serial" , + .name ="pxa-serial" , .probe = pxa_serial_probe, .remove = pxa_serial_remove, };
drivers/serial/serial_s3c.c +1 -1
@@ -208,7 +208,7 @@ static void s3c_serial_remove(struct device_d *dev) }static struct driver_d s3c_serial_driver = { - .name ="s3c_serial" , + .name ="s3c-serial" , .probe = s3c_serial_probe, .remove = s3c_serial_remove, };
drivers/serial/stm-serial.c +1 -1
@@ -189,7 +189,7 @@ static void stm_serial_remove(struct device_d *dev) }static struct driver_d stm_serial_driver = { - .name ="stm_serial" , + .name ="stm-serial" , .probe = stm_serial_probe, .remove = stm_serial_remove, };
drivers/spi/altera_spi.c +1 -1
@@ -236,7 +236,7 @@ static int altera_spi_probe(struct device_d *dev) }static struct driver_d altera_spi_driver = { - .name ="altera_spi" , + .name ="altera-spi" , .probe = altera_spi_probe, };device_platform_driver (altera_spi_driver);
drivers/spi/atmel_spi.c +1 -1
@@ -435,7 +435,7 @@ out_free: }static struct driver_d atmel_spi_driver = { - .name ="atmel_spi" , + .name ="atmel-spi" , .probe = atmel_spi_probe, };device_platform_driver (atmel_spi_driver);
drivers/spi/imx_spi.c +1 -1
@@ -581,7 +581,7 @@ static struct platform_device_id imx_spi_ids[] = { };static struct driver_d imx_spi_driver = { - .name ="imx_spi" , + .name ="imx-spi" , .probe = imx_spi_probe, .of_compatible =DRV_OF_COMPAT (imx_spi_dt_ids), .id_table = imx_spi_ids,
drivers/spi/mxs_spi.c +1 -1
@@ -278,7 +278,7 @@ static int mxs_spi_probe(struct device_d *dev) }static struct driver_d mxs_spi_driver = { - .name ="mxs_spi" , + .name ="mxs-spi" , .probe = mxs_spi_probe, };device_platform_driver (mxs_spi_driver);
drivers/usb/gadget/dfu.c +1 -1
@@ -686,7 +686,7 @@ fail: }static struct usb_composite_driver dfu_driver = { - .name ="g_dfu" , + .name ="gadget-dfu" , .dev = &dfu_dev_descriptor, .strings = dev_strings, .bind = dfu_driver_bind,
drivers/usb/gadget/serial.c +1 -1
@@ -173,7 +173,7 @@ fail: }static struct usb_composite_driver gserial_driver = { - .name ="g_serial" , + .name ="gadget-serial" , .dev = &device_desc, .strings = dev_strings, .bind = gs_bind,
drivers/usb/host/ohci-at91.c +1 -1
@@ -81,7 +81,7 @@ static void at91_ohci_remove(struct device_d *dev) }static struct driver_d at91_ohci_driver = { - .name ="at91_ohci" , + .name ="at91-ohci" , .probe = at91_ohci_probe, .remove = at91_ohci_remove, };
drivers/video/atmel_hlcdfb.c +1 -1
@@ -286,7 +286,7 @@ static int atmel_hlcdc_probe(struct device_d *dev) }static struct driver_d atmel_hlcdc_driver = { - .name ="atmel_hlcdfb" , + .name ="atmel-hlcdfb" , .probe = atmel_hlcdc_probe, };device_platform_driver (atmel_hlcdc_driver);
drivers/video/atmel_lcdfb.c +1 -1
@@ -252,7 +252,7 @@ static int atmel_lcdc_probe(struct device_d *dev) }static struct driver_d atmel_lcdc_driver = { - .name ="atmel_lcdfb" , + .name ="atmel-lcdfb" , .probe = atmel_lcdc_probe, };device_platform_driver (atmel_lcdc_driver);
drivers/video/bcm2835.c +1 -1
@@ -130,7 +130,7 @@ static int bcm2835fb_probe(struct device_d *dev) }static struct driver_d bcm2835fb_driver = { - .name ="bcm2835_fb" , + .name ="bcm2835-fb" , .probe = bcm2835fb_probe, };device_platform_driver (bcm2835fb_driver);
drivers/video/imx.c +1 -1
@@ -581,7 +581,7 @@ static int imxfb_probe(struct device_d *dev) }static struct driver_d imxfb_driver = { - .name ="imxfb" , + .name ="imx-fb" , .probe = imxfb_probe, };device_platform_driver (imxfb_driver);
drivers/video/omap.c +1 -1
@@ -512,7 +512,7 @@ out: }static struct driver_d omapfb_driver = { - .name ="omap_fb" , + .name ="omap-fb" , .probe = omapfb_probe, };
drivers/video/pxa.c +1 -1
@@ -537,7 +537,7 @@ static int pxafb_probe(struct device_d *dev) }static struct driver_d pxafb_driver = { - .name ="pxafb" , + .name ="pxa-fb" , .probe = pxafb_probe, };device_platform_driver (pxafb_driver);
drivers/video/s3c24xx.c +1 -1
@@ -401,7 +401,7 @@ static int s3cfb_probe(struct device_d *hw_dev) }static struct driver_d s3cfb_driver = { - .name ="s3c_fb" , + .name ="s3c-fb" , .probe = s3cfb_probe, };device_platform_driver (s3cfb_driver);
drivers/video/sdl.c +1 -1
@@ -89,7 +89,7 @@ static void sdlfb_remove(struct device_d *dev) }static struct driver_d sdlfb_driver = { - .name ="sdlfb" , + .name ="sdl-fb" , .probe = sdlfb_probe, .remove = sdlfb_remove, };
drivers/video/stm.c +1 -1
@@ -521,7 +521,7 @@ static int stmfb_probe(struct device_d *hw_dev) }static struct driver_d stmfb_driver = { - .name ="stmfb" , + .name ="stm-fb" , .probe = stmfb_probe, };device_platform_driver (stmfb_driver);
drivers/w1/w1.c +2 -2
@@ -396,7 +396,7 @@ static void w1_bus_remove(struct device_d *_dev) }struct bus_type w1_bustype= { - .name ="w1_bus" , + .name ="w1-bus" , .match = w1_bus_match, .probe = w1_bus_probe, .remove = w1_bus_remove,
@@ -618,7 +618,7 @@ int w1_bus_register(struct w1_bus *bus)list_add_tail (&bus->list, &w1_buses); -strcpy (bus->dev.name,"w1_bus" ); +strcpy (bus->dev.name,"w1-bus" ); bus->dev.id =DEVICE_ID_DYNAMIC ; bus->dev.parent = bus->parent;
fs/omap4_usbbootfs.c +1 -1
@@ -208,7 +208,7 @@ static struct fs_driver_d omap4_usbbootfs_driver = { .drv = { .probe = omap4_usbbootfs_probe, .remove = omap4_usbbootfs_remove, - .name = "omap4_usbbootfs", + .name = "omap4-usbbootfs", } };
Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Oh, while converting quilt-patches to git some patch comments (behind ---") were lost. As they are only explanatory, nothing bad happens, but I'll send them as e-mails now.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 08/10] bootm: beautify output
In reply to Holger SchurigThe output is now ...
Without -v:
Loading ARM Linux zImage '/mnt/linux/arch/arm/boot/zImage'
commandline: console=ttymxc0,115200n8 quiet root=/dev/ram rdinit=/sbin/init
With -v:
Loading ARM Linux zImage '/mnt/linux/arch/arm/boot/zImage'
OS image not yet relocated
Loading initrd GZIP compressed '/mnt/image/boot/initrd.img.gz' initrd image not yet relocated
Passing control to ARM zImage handler
no OS load address, defaulting to 0x10707000
no initrd load address, defaulting to 0x109c9000
commandline: console=ttymxc0,115200n8 quiet root=/dev/ram rdinit=/sbin/init
Starting kernel at 0x10707000, initrd at 0x109c9000, oftree at 0x10a98000...
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer
In reply to Holger SchurigExample output before of "devinfo fb0":
resources:
num : 0
start : 0x4c242000
size : 0x00300000
driver: none
bus: none
available modes:
hsd100pxn1 1024x768@0
Parameters:
enable = 0
mode_name = hsd100pxn1 ("hsd100pxn1")Example output after this patch:
Resources:
num: 0
start: 0x4c242000
size: 0x00300000
Available modes:
hsd100pxn1: 1024x768@0
Parameters:
enable: 0
mode_name: hsd100pxn1 ("hsd100pxn1")_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 02/10] devinfo: reduce indentation
In reply to Holger Schurigbarebox:/ devinfo
devices:
`-- global
`-- platform
`-- mem0
`-- 0x00000000-0x3fffffff (1 GiB): /dev/ram0
`-- a01000.interrupt-controller
`-- soc.0
`-- 110000.dma-apbh
`-- a00600.timer
`-- a02000.l2-cache...
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 01/10] drvlist: factor the driver list out of 'devinfo'
In reply to Holger Schurigbarebox:/ drvinfo
Driver Device(s)
-------------------
imx-gpio
209c000.gpio
20a0000.gpio
20a4000.gpio
20a8000.gpio
20ac000.gpio
20b0000.gpio
20b4000.gpio
imx6-ccm
20c4000.ccm
imx-iomuxv3
20e0000.iomuxc
imx-gpt
2098000.gpt...
mem
mem0
mem1
barebox-environment
Use 'devinfo DEVICE' for more information
barebox:/
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 04/10] parameters: only show possible enumerations if there are any
In reply to Holger SchurigBefore this patch, "drvinfo fb0" displayed (beside other things):
Parameters:
enable: 0
mode_name: hsd100pxn1 ("hsd100pxn1")Now it shows:
Parameters:
enable: 0
mode_name: hsd100pxn1_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 09/10] beautify PHY driver names
In reply to Holger SchurigHi,
Quoted 4 lines · Holger Schurig
Some device names where texts like "Atheros 8035 ethernet" or similar. They now got a prefix "phy-" and just their name and look now much more like the other driver names.
these names are taken from linux kernel code to have a similar name convention like linux in barebox.
I would leave the names like linux. Maybe you get a name prefix into the linux kernel, then we should change it in barebox also.
If you want to try that I wish you good luck. :-)
- Alex
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 09/10] beautify PHY driver names
I changed them because (before my patches) the driver list in "devinfo" looked ugly, with my drvinfo command that one looked ugly. Those driver names sticked out like a sore thumb.
Now, if I do "diff linux/driver/net/phy/micrel.c barebox/driver/net/phy/micrel.c", I can see that those files are a bit similar ... but only a bit. Diff spits out 569 lines of diff output. And as micrel.c is only 281 lines long, this means that almost no
identical lines are in those two files anyway ... so, the drivers
are following the Linux model, but they are not Linux drivers anyway.
As this is purely cosmetical, I won't fight over it. Or at least not more :-)
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 06/10] meminfo: purely cosmetical changes
In reply to Holger SchurigOn Fri, 30 May 2014 11:07:32 +0200
Holger Schurig <[email protected]> wrote:
"cosmetic"?
I can't find the word "cosmetical" in my dictionary.
P.S. I by myself often write "unificate" instead of "unify" :)
Quoted 47 lines
Signed-off-by Holger Schurig <[email protected]>--- common/dlmalloc.c | 8 ++++---- common/tlsf_malloc.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)common/dlmalloc.c +4
-4@@ -1942,13 +1942,13 @@ static void malloc_update_mallinfo(void)void malloc_stats (void ) {malloc_update_mallinfo (); -printf ("max system bytes = %10u\n" , (unsigned int )(max_total_mem)); -printf ("system bytes = %10u\n" , +printf ("Maximum system memory: %u\n" , (unsigned int )(max_total_mem)); +printf ("Current system memory: %u\n" , (unsigned int )(sbrked_mem + mmapped_mem)); -printf ("in use bytes = %10u\n" , +printf ("in use: %u\n" , (unsigned int )(current_mallinfo.uordblks + mmapped_mem));#if HAVE_MMAP -fprintf (stderr,"max mmap regions = %10u\n" , +printf ("Maximum mmap'ed mmap regions: %u\n" , (unsigned int ) max_n_mmaps);#endif }common/tlsf_malloc.c +1
-1@@ -97,5 +97,5 @@ void malloc_stats(void)tlsf_walk_heap (tlsf_mem_pool, malloc_walker, &s); -printf ("used: %10zu\nfree: %10zu\n" , s.used, s.free); +printf ("used: %zu\nfree: %zu\n" , s.used, s.free); }Signature · 7 lines
1.7.10.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Signature · 8 lines
-- Best regards, Antony Pavlov _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 06/10] meminfo: purely cosmetical changes
Use another directory then :-)
http://www.dict.cc/deutsch-englisch/kosmetisch.html
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 02/10] devinfo: reduce indentation
In reply to Holger SchurigQuoted 5 lines · On Fri, 30 May 2014 11:08:01 +0200 Holger Schurig <[email protected]>…
barebox:/ devinfo
devices:
`-- global
`-- platform
`-- mem0
Quoted 7 lines
`-- 0x00000000-0x3fffffff (1 GiB): /dev/ram0 `-- a01000.interrupt-controller `-- soc.0 `-- 110000.dma-apbh `-- a00600.timer `-- a02000.l2-cache...
IMHO this looks much better now!
--
Best regards,
Antony Pavlov
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 09/10] beautify PHY driver names
In reply to Holger SchurigQuoted 4 lines · Holger Schurig
I changed them because (before my patches) the driver list in "devinfo" looked ugly, with my drvinfo command that one looked ugly. Those driver names sticked out like a sore thumb.
Quoted 8 lines
Now, if I do "diff
linux/driver/net/phy/micrel.cbarebox/driver/net/phy/micrel.c", I can see that those files are a bit similar ... but only a bit. Diff spits out 569 lines of diff output. And asmicrel.cis only 281 lines long, this means that almost no
identical lines are in those two files anyway ... so, the drivers
are following the Linux model, but they are not Linux drivers anyway.As this is purely cosmetical, I won't fight over it. Or at least not more :-)
me too, I just want to remember one of the goals of barebox. Maybe somebody has a freakly crazy script for ethernet driver name parsing and was happy that the name was equal like the linux one. :-)
- Alex
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
maintainerRe: [PATCH 09/10] beautify PHY driver names
In reply to Holger SchurigQuoted 3 lines · Holger Schurig
Some device names where texts like "Atheros 8035 ethernet" or similar. They now got a prefix "phy-" and just their name and look now much more like the other driver names.
The names are the same as in the Linux Kernel. We could change them, but probably get the Linux names back for new additions of phys. So let's just keep the Linux Names.
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
maintainerRe: [PATCH 10/10] device drivers: harmonize underscore in driver names
In reply to Holger SchurigQuoted 3 lines · Holger Schurig
Some device names were in the form "
imx_spi", others in the form "imx-gpt". As most device names used the dash and not the underscore, this device driver harmonizes them all.
Generally ok, but you have to fix the users aswell. I think you catched the statically created devices, but there are many occurrences of this:
add_generic_device("stmfb", 0, NULL, IMX_FB_BASE, 4096,
IORESOURCE_MEM, &fb_mode);Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Sascha Hauer
maintainerQuoted 13 lines · Holger Schurig
The following patches mostly change the output of various commands.
Holger Schurig (10):
drvlist: factor the driver list out of 'devinfo'
devinfo: reduce indentation
devinfo: make the output of "devinfo DEVICE" nicer
parameters: only show possible enumerations if there are any
net: show enetaddr in lowercase
meminfo: purely cosmetical changes
misc: upper-case some abbreviations
bootm: beautify output
beautify PHY driver names
device drivers: harmonize underscore in driver names
Applied all except 9/10 and 10/10.
Sascha
Signature · 9 lines
Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer
In reply to Holger SchurigQuoted 19 lines · On Friday 30 May 2014 11:07:17 Holger Schurig wrote:
Example output before of "devinfo fb0":
resources: num : 0 start : 0x4c242000 size : 0x00300000 driver: none bus: none available modes: hsd100pxn1 1024x768@0 Parameters: enable = 0 mode_name = hsd100pxn1 ("hsd100pxn1")Example output after this patch:
Quoted 9 lines
Resources:
num: 0
start: 0x4c242000
size: 0x00300000
Available modes:
hsd100pxn1: 1024x768@0
Parameters:
enable: 0
mode_name: hsd100pxn1 ("hsd100pxn1")But parameters can be changed by the user at run-time (e.g. "prompt> enable=1"), while the remaining info is just readable. That is why we used different characters.
jbe
Signature · 7 lines
Pengutronix e.K. | Juergen Borleis | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer
Quoted 3 lines
But parameters can be changed by the user at run-time (e.g. "prompt> enable=1"), while the remaining info is just readable. That is why we used different characters.
I'm not getting you. Parameters are still changeable after this patch.
Or do you mean " = " vs. ":"? Did you chose " = " by intent, i.e. so that you can cut&paste text with the mouse?
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer
Hi Holger,
Quoted 8 lines · On Monday 02 June 2014 11:23:28 Holger Schurig wrote:
Quoted 3 lines
But parameters can be changed by the user at run-time (e.g. "prompt> enable=1"), while the remaining info is just readable. That is why we used different characters.
I'm not getting you. Parameters are still changeable after this patch.
Or do you mean " = " vs. ":"? Did you chose " = " by intent, i.e. so that you can cut&paste text with the mouse?
Yes. IMHO the "=" was intended as a visible feedback about the alterable characteristics of these parameters.
Copy&paste isn't possible due to the whitespaces.
jbe
Signature · 7 lines
Pengutronix e.K. | Juergen Borleis | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox
Re: [PATCH 03/10] devinfo: make the output of "devinfo DEVICE" nicer
Quoted 1 line
Copy&paste isn't possible due to the whitespaces.
Hm, I think that the "Parameters:" headline is transporting the same information. Also, the the current documantion may be lacking, but at
http://wiki.barebox.org/doku.php you can read:
There is a parameter model in barebox: each device can specify its
own parameters,
which do exist for every instance. Parameters can be changed on
the command line
with \<devid\>.\<param\>="...". For example, if you want to access
the IPv4 address
for eth0, this is done with 'eth0.ip=192.168.0.7' and 'echo $eth0.ip'.I could change the head line "Parameters:" to "Variables:" to emphasize that this thing can be changed (can varying), but "Device Parameters" is already a know term in the barebox knowledge domain.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox