2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-27 15:09:10 +00:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-01 18:02:30 -05:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
2021-03-21 20:55:27 +01:00
|
|
|
|
|
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-08-06 18:36:23 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
2007-08-06 18:36:23 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
2008-11-03 20:03:17 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ata: Convert ata_<foo>_printk(KERN_<LEVEL> to ata_<foo>_<level>
Saves text by removing nearly duplicated text format strings by
creating ata_<foo>_printk functions and printf extension %pV.
ata defconfig size shrinks ~5% (~8KB), allyesconfig ~2.5% (~13KB)
Format string duplication comes from:
#define ata_link_printk(link, lv, fmt, args...) do { \
if (sata_pmp_attached((link)->ap) || (link)->ap->slave_link) \
printk("%sata%u.%02u: "fmt, lv, (link)->ap->print_id, \
(link)->pmp , ##args); \
else \
printk("%sata%u: "fmt, lv, (link)->ap->print_id , ##args); \
} while(0)
Coalesce long formats.
$ size drivers/ata/built-in.*
text data bss dec hex filename
544969 73893 116584 735446 b38d6 drivers/ata/built-in.allyesconfig.ata.o
558429 73893 117864 750186 b726a drivers/ata/built-in.allyesconfig.dev_level.o
141328 14689 4220 160237 271ed drivers/ata/built-in.defconfig.ata.o
149567 14689 4220 168476 2921c drivers/ata/built-in.defconfig.dev_level.o
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
2011-04-15 15:51:59 -07:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
2007-01-30 13:23:45 +00:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
2023-03-22 12:53:59 -07:00
|
|
|
|
2008-03-25 12:22:49 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-01-29 08:30:30 +09:00
|
|
|
|
2019-01-19 07:52:01 +03:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
|
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
2012-12-21 13:19:58 -08:00
|
|
|
|
|
|
|
|
|
2015-01-29 08:30:30 +09:00
|
|
|
|
2023-03-22 12:53:59 -07:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
libata: convert the remaining PATA drivers to new init model
Convert pdc_adma, pata_cs5520, pata_isapnp, pata_ixp4xx_cf,
pata_legacy, pata_mpc52xx, pata_mpiix, pata_pcmcia, pata_pdc2027x,
pata_platform, pata_qdi, pata_scc and pata_winbond to new init model.
* init_one()'s now follow more consistent init order
* cs5520 now registers one host with two ports, not two hosts. If any
of the two ports are disabled, it's made dummy as other drivers do.
Tested pdc_adma and pata_legacy. Both are as broken as before. The
rest are compile tested only.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-04-17 23:44:08 +09:00
|
|
|
|
|
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-01-19 07:52:02 +03:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-01-19 07:52:01 +03:00
|
|
|
|
2022-01-25 00:45:25 +08:00
|
|
|
|
|
|
|
|
|
2019-01-19 07:52:01 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-08-06 16:05:08 -07:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
2009-08-06 16:05:08 -07:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
2009-08-06 16:05:08 -07:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
2009-08-06 16:05:08 -07:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-07 22:47:16 +09:00
|
|
|
|
2015-01-29 08:30:30 +09:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-12-21 13:19:58 -08:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-07-30 17:16:05 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-17 02:01:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-01-17 02:01:34 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
2007-11-08 11:15:21 +09:00
|
|
|
|
2008-01-09 22:10:22 +03:00
|
|
|
|
|
|
|
|
|
2019-01-19 07:52:01 +03:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-10-16 16:16:10 +02:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-11-27 14:44:26 +08:00
|
|
|
|
2006-10-27 19:08:48 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-18 13:41:57 -07:00
|
|
|
|