sbus.c (6206aa8b2b9a45b4cf3ee31b7209b014be349fd9) sbus.c (917c3660d6d9a4b073a3db7c10f6989adae4e191)
1/*
2 * sbus.c: UltraSparc SBUS controller support.
3 *
4 * Copyright (C) 1999 David S. Miller (davem@redhat.com)
5 */
6
7#include <linux/kernel.h>
8#include <linux/types.h>

--- 103 unchanged lines hidden (view full) ---

112 if (bursts & DMA_BURST16)
113 val |= (1UL << 2UL);
114 if (bursts & DMA_BURST32)
115 val |= (1UL << 3UL);
116 if (bursts & DMA_BURST64)
117 val |= (1UL << 4UL);
118 upa_writeq(val, cfg_reg);
119}
1/*
2 * sbus.c: UltraSparc SBUS controller support.
3 *
4 * Copyright (C) 1999 David S. Miller (davem@redhat.com)
5 */
6
7#include <linux/kernel.h>
8#include <linux/types.h>

--- 103 unchanged lines hidden (view full) ---

112 if (bursts & DMA_BURST16)
113 val |= (1UL << 2UL);
114 if (bursts & DMA_BURST32)
115 val |= (1UL << 3UL);
116 if (bursts & DMA_BURST64)
117 val |= (1UL << 4UL);
118 upa_writeq(val, cfg_reg);
119}
120EXPORT_SYMBOL(sbus_set_sbus64);
120
121/* INO number to IMAP register offset for SYSIO external IRQ's.
122 * This should conform to both Sunfire/Wildfire server and Fusion
123 * desktop designs.
124 */
125#define SYSIO_IMAP_SLOT0 0x2c00UL
126#define SYSIO_IMAP_SLOT1 0x2c08UL
127#define SYSIO_IMAP_SLOT2 0x2c10UL

--- 547 unchanged lines hidden ---
121
122/* INO number to IMAP register offset for SYSIO external IRQ's.
123 * This should conform to both Sunfire/Wildfire server and Fusion
124 * desktop designs.
125 */
126#define SYSIO_IMAP_SLOT0 0x2c00UL
127#define SYSIO_IMAP_SLOT1 0x2c08UL
128#define SYSIO_IMAP_SLOT2 0x2c10UL

--- 547 unchanged lines hidden ---