lkml.org 
[lkml]   [2005]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] make visual workstation subarch link again
From
Date
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 <thomas.duffy.99@alumni.brown.edu>

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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-07 09:04    [W:0.169 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site