From 01d2e46ddb9e17bda911ccce97bfef8ad77b1cbc Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 27 Dec 2017 23:12:46 +0100 Subject: [PATCH] superio: move files to match the common naming scheme Change-Id: I1a8fc34aaaf42514c8af97ab155ff2712e7a5448 Signed-off-by: Felix Held Reviewed-on: https://review.coreboot.org/23009 Reviewed-by: Alexander Couzens Tested-by: build bot (Jenkins) --- src/superio/smsc/fdc37n972/Makefile.inc | 2 +- src/superio/smsc/fdc37n972/{fdc37n972.c => superio.c} | 5 +++-- src/superio/smsc/sio10n268/Makefile.inc | 2 +- src/superio/smsc/sio10n268/{sio10n268.c => superio.c} | 0 src/superio/via/vt1211/Makefile.inc | 2 +- src/superio/via/vt1211/{vt1211.c => superio.c} | 0 6 files changed, 6 insertions(+), 5 deletions(-) rename src/superio/smsc/fdc37n972/{fdc37n972.c => superio.c} (92%) rename src/superio/smsc/sio10n268/{sio10n268.c => superio.c} (100%) rename src/superio/via/vt1211/{vt1211.c => superio.c} (100%) diff --git a/src/superio/smsc/fdc37n972/Makefile.inc b/src/superio/smsc/fdc37n972/Makefile.inc index 337123a8a4..235d7ae0ab 100644 --- a/src/superio/smsc/fdc37n972/Makefile.inc +++ b/src/superio/smsc/fdc37n972/Makefile.inc @@ -13,4 +13,4 @@ ## GNU General Public License for more details. ## -ramstage-$(CONFIG_SUPERIO_SMSC_FDC37N972) += fdc37n972.c +ramstage-$(CONFIG_SUPERIO_SMSC_FDC37N972) += superio.c diff --git a/src/superio/smsc/fdc37n972/fdc37n972.c b/src/superio/smsc/fdc37n972/superio.c similarity index 92% rename from src/superio/smsc/fdc37n972/fdc37n972.c rename to src/superio/smsc/fdc37n972/superio.c index e3edcea506..e729e0e5af 100644 --- a/src/superio/smsc/fdc37n972/fdc37n972.c +++ b/src/superio/smsc/fdc37n972/superio.c @@ -46,8 +46,9 @@ static struct device_operations ops = { }; static struct pnp_info pnp_dev_info[] = { - { &ops, FDC37N972_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, - { &ops, FDC37N972_SP2, PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, 0x07f8, }, + { &ops, FDC37N972_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, }, + { &ops, FDC37N972_SP2, + PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1, 0x07f8, }, { &ops, FDC37N972_KBDC, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, }, }; diff --git a/src/superio/smsc/sio10n268/Makefile.inc b/src/superio/smsc/sio10n268/Makefile.inc index ab15abe19a..2241db3165 100644 --- a/src/superio/smsc/sio10n268/Makefile.inc +++ b/src/superio/smsc/sio10n268/Makefile.inc @@ -13,4 +13,4 @@ ## GNU General Public License for more details. ## -ramstage-$(CONFIG_SUPERIO_SMSC_SIO10N268) += sio10n268.c +ramstage-$(CONFIG_SUPERIO_SMSC_SIO10N268) += superio.c diff --git a/src/superio/smsc/sio10n268/sio10n268.c b/src/superio/smsc/sio10n268/superio.c similarity index 100% rename from src/superio/smsc/sio10n268/sio10n268.c rename to src/superio/smsc/sio10n268/superio.c diff --git a/src/superio/via/vt1211/Makefile.inc b/src/superio/via/vt1211/Makefile.inc index a0c8f8b11b..d3044afd11 100644 --- a/src/superio/via/vt1211/Makefile.inc +++ b/src/superio/via/vt1211/Makefile.inc @@ -14,4 +14,4 @@ ## GNU General Public License for more details. ## -ramstage-$(CONFIG_SUPERIO_VIA_VT1211) += vt1211.c +ramstage-$(CONFIG_SUPERIO_VIA_VT1211) += superio.c diff --git a/src/superio/via/vt1211/vt1211.c b/src/superio/via/vt1211/superio.c similarity index 100% rename from src/superio/via/vt1211/vt1211.c rename to src/superio/via/vt1211/superio.c