Re: PNP bug

Itai Nahshon (nahshon@actcom.co.il)
Fri, 06 Feb 1998 00:04:48 +0200


Alan Cox wrote:
>
> And add this after the patch I did if your PnP explodes ;)
The patch includes a file linux/net/ipv4/tcp.c.rej. I think it
can be safely ignored (it was also in the patches against 2.1.84).

If you want the PnP code built as modules you need the following
patches as well.

Itai

diff -u linux-2.1.85-mod/kernel/ksyms.c.ORIG
linux-2.1.85-mod/kernel/ksyms.c
--- linux-2.1.85-mod/kernel/ksyms.c.ORIG Thu Feb 5 21:02:42 1998
+++ linux-2.1.85-mod/kernel/ksyms.c Thu Feb 5 19:59:42 1998
@@ -82,6 +82,7 @@
extern int sys_tz;
extern int request_dma(unsigned int dmanr, char * deviceID);
extern void free_dma(unsigned int dmanr);
+extern void check_dma(unsigned int dmanr);

#ifdef MODVERSIONS
const struct module_symbol __export_Using_Versions
@@ -286,6 +287,7 @@
EXPORT_SYMBOL(free_irq);
EXPORT_SYMBOL(enable_irq);
EXPORT_SYMBOL(disable_irq);
+EXPORT_SYMBOL(check_irq);
EXPORT_SYMBOL(probe_irq_on);
EXPORT_SYMBOL(probe_irq_off);
EXPORT_SYMBOL(bh_active);
@@ -313,6 +315,7 @@
/* dma handling */
EXPORT_SYMBOL(request_dma);
EXPORT_SYMBOL(free_dma);
+EXPORT_SYMBOL(check_dma);
#ifdef HAVE_DISABLE_HLT
EXPORT_SYMBOL(disable_hlt);
EXPORT_SYMBOL(enable_hlt);
diff -u linux-2.1.85-mod/drivers/pnp/Makefile.ORIG
linux-2.1.85-mod/drivers/pnp/Makefile
--- linux-2.1.85-mod/drivers/pnp/Makefile.ORIG Thu Feb 5 19:51:30 1998
+++ linux-2.1.85-mod/drivers/pnp/Makefile Thu Feb 5 19:57:13 1998
@@ -38,7 +38,7 @@
else
ifeq ($(CONFIG_PNP_DRV),m)
M_OBJS += pnp_mod.o
- PNP_OBJS := main.o misc.o registry.o resource.o
+ PNP_OBJS := main.o misc.o registry.o resource.o config.o
ifeq ($(CONFIG_PNP_SYSCTL),y)
PNP_OBJS += sysctl.o kerneld.o
endif

-- 
Itai Nahshon   nahshon@actcom.co.il
        Also   nahshon@vnet.ibm.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu