[PATCH] make visual workstation subarch link again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch add stubs to allow the visws subarch to link again.  Also
needs Eric W. Biederman's patch adding machine_emergency_restart() and
machine_shutdown() sent earlier today to link properly:

http://marc.theaimsgroup.com/?l=linux-kernel&m=112335772219837&w=2

Signed-off-by: Tom Duffy <[email protected]>

diff -Nur -X /home/tduffy/dontdiff linux-2.6.13-rc5/arch/i386/mach-visws/setup.c linux-2.6.13-rc5/arch/i386/mach-visws/setup.c
--- linux-2.6.13-rc5/arch/i386/mach-visws/setup.c	2005-08-06 08:46:46.138055928 -0700
+++ linux-2.6.13-rc5/arch/i386/mach-visws/setup.c	2005-08-06 08:47:26.509918472 -0700
@@ -14,6 +14,8 @@
 #include "cobalt.h"
 #include "piix4.h"
 
+int no_broadcast;
+
 char visws_board_type = -1;
 char visws_board_rev = -1;
 
diff -Nur -X /home/tduffy/dontdiff linux-2.6.13-rc5/arch/i386/pci/visws.c linux-2.6.13-rc5/arch/i386/pci/visws.c
--- linux-2.6.13-rc5/arch/i386/pci/visws.c	2005-08-06 00:56:45.843152392 -0700
+++ linux-2.6.13-rc5/arch/i386/pci/visws.c	2005-08-06 08:58:02.475237048 -0700
@@ -18,8 +18,10 @@
 extern struct pci_raw_ops pci_direct_conf1;
 
 static int pci_visws_enable_irq(struct pci_dev *dev) { return 0; }
+static void pci_visws_disable_irq(struct pci_dev *dev) { }
 
 int (*pcibios_enable_irq)(struct pci_dev *dev) = &pci_visws_enable_irq;
+void (*pcibios_disable_irq)(struct pci_dev *dev) = &pci_visws_disable_irq;
 
 void __init pcibios_penalize_isa_irq(int irq, int active) {}
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux