]> git.neil.brown.name Git - history.git/commitdiff
setup.c:
authorDavid Mosberger <davidm@wailua.hpl.hp.com>
Wed, 10 Apr 2002 10:27:33 +0000 (03:27 -0700)
committerDavid Mosberger <davidm@wailua.hpl.hp.com>
Wed, 10 Apr 2002 10:27:33 +0000 (03:27 -0700)
  Move disabling of 8259 irqs into iosapic.c.

arch/ia64/dig/setup.c

index 6d5fbb148ac896d8af7ccf5f70224a3802944747..6fdf2480a206f7955e9455c9fcdc443376baf9cd 100644 (file)
@@ -33,7 +33,6 @@
  * is sufficient (the IDE driver will autodetect the drive geometry).
  */
 char drive_info[4*16];
-extern int pcat_compat;
 
 void __init
 dig_setup (char **cmdline_p)
@@ -83,16 +82,4 @@ dig_setup (char **cmdline_p)
 void __init
 dig_irq_init (void)
 {
-       if (pcat_compat) {
-               /*
-                * Disable the compatibility mode interrupts (8259 style), needs IN/OUT support
-                * enabled.
-                */
-               printk("%s: Disabling PC-AT compatible 8259 interrupts\n", __FUNCTION__);
-               outb(0xff, 0xA1);
-               outb(0xff, 0x21);
-       } else {
-               printk("%s: System doesn't have PC-AT compatible dual-8259 setup. "
-                      "Nothing to be done\n", __FUNCTION__);
-       }
 }