diff --git a/device/pnp_raw.c b/device/pnp_raw.c index 67d42da7fd..cba5d150e4 100644 --- a/device/pnp_raw.c +++ b/device/pnp_raw.c @@ -18,7 +18,7 @@ */ #include -#include +#include #include /* very low level pnp manipulation intended for stage 0 or 1 */ diff --git a/include/device/pnp.h b/include/device/pnp.h index f0e2e62220..20588e195e 100644 --- a/include/device/pnp.h +++ b/include/device/pnp.h @@ -22,7 +22,6 @@ #include #include -#include /* very low level pnp manipulation intended for stage 0 or 1 */ void rawpnp_enter_ext_func_mode(u16 dev); @@ -74,4 +73,13 @@ struct resource *pnp_get_resource(struct device * dev, unsigned index); void pnp_enable_devices(struct device *dev, struct device_operations *ops, unsigned functions, struct pnp_info *info); +#define PNP_IDX_IO0 0x60 +#define PNP_IDX_IO1 0x62 +#define PNP_IDX_IO2 0x64 +#define PNP_IDX_IO3 0x66 +#define PNP_IDX_IRQ0 0x70 +#define PNP_IDX_IRQ1 0x72 +#define PNP_IDX_DRQ0 0x74 +#define PNP_IDX_DRQ1 0x75 + #endif /* DEVICE_PNP_H */ diff --git a/include/device/pnp_def.h b/include/device/pnp_def.h deleted file mode 100644 index 6b8257cb47..0000000000 --- a/include/device/pnp_def.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - -*/ - -#ifndef DEVICE_PNP_DEF_H -#define DEVICE_PNP_DEF_H - -#define PNP_IDX_IO0 0x60 -#define PNP_IDX_IO1 0x62 -#define PNP_IDX_IO2 0x64 -#define PNP_IDX_IO3 0x66 -#define PNP_IDX_IRQ0 0x70 -#define PNP_IDX_IRQ1 0x72 -#define PNP_IDX_DRQ0 0x74 -#define PNP_IDX_DRQ1 0x75 - -#endif /* DEVICE_PNP_DEF_H */