linux-mips
[Top] [All Lists]

[PATCH][MIPS] remove unused definitions for Cobalt

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] remove unused definitions for Cobalt
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Mon, 21 May 2007 23:00:38 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

This patch has removed unused definitions for Cobalt.

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff 
mips-orig/include/asm-mips/mach-cobalt/cobalt.h 
mips/include/asm-mips/mach-cobalt/cobalt.h
--- mips-orig/include/asm-mips/mach-cobalt/cobalt.h     2007-05-20 
21:04:15.739105500 +0900
+++ mips/include/asm-mips/mach-cobalt/cobalt.h  2007-05-20 21:18:24.688161500 
+0900
@@ -30,7 +30,6 @@
 #define COBALT_CPU_IRQ         MIPS_CPU_IRQ_BASE
 
 #define COBALT_GALILEO_IRQ     (COBALT_CPU_IRQ + 2)
-#define COBALT_SCC_IRQ          (COBALT_CPU_IRQ + 3)   /* pre-production has 
85C30 */
 #define COBALT_RAQ_SCSI_IRQ    (COBALT_CPU_IRQ + 3)
 #define COBALT_ETH0_IRQ                (COBALT_CPU_IRQ + 3)
 #define COBALT_QUBE1_ETH0_IRQ  (COBALT_CPU_IRQ + 4)
@@ -71,10 +70,6 @@
 
 extern int cobalt_board_id;
 
-#define PCI_CFG_SET(devfn,where)                                       \
-       GT_WRITE(GT_PCI0_CFGADDR_OFS, (0x80000000 | (PCI_SLOT (devfn) << 11) |  
        \
-               (PCI_FUNC (devfn) << 8) | (where)))
-
 #define COBALT_LED_PORT                (*(volatile unsigned char *) 
CKSEG1ADDR(0x1c000000))
 # define COBALT_LED_BAR_LEFT   (1 << 0)        /* Qube */
 # define COBALT_LED_BAR_RIGHT  (1 << 1)        /* Qube */

<Prev in Thread] Current Thread [Next in Thread>