sparc32 sunkbd 2.6.0-test1
Hi ppl,
i was able to boot 2.6.0-test1 but the keyboard
sun type 5c doesn't work & FB console doesn't
work, just PROM console.
I think i have a correct .config file.
Is a 2.6.0-test1 stock with davem's patch to get
rid of pci on non-pci sparcs, i don't think these
patch will create any problems, anyway is attached
too.
Any help please?
Attached is my system's info.
-solca
cpu : Fujitsu MB86904
fpu : Lsi Logic/Meiko L64804 or compatible
promlib : Version 3 Revision 2
prom : 2.20
type : sun4m
ncpus probed : 1
ncpus active : 1
BogoMips : 84.78
MMU type : Fujitsu Swift
contexts : 256
nocache total : 1048576
nocache used : 102912
#
# Automatically generated make config: don't edit
#
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_HIGHMEM=y
CONFIG_GENERIC_ISA_DMA=y
#
# Code maturity level options
#
# CONFIG_EXPERIMENTAL is not set
#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
#
# Loadable module support
#
CONFIG_MODULES=y
# CONFIG_MODULE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
CONFIG_KMOD=y
#
# General setup
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SMP is not set
CONFIG_SPARC32=y
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_SUN_PM=y
# CONFIG_SUN4 is not set
# CONFIG_PCI is not set
# CONFIG_SUN_OPENPROMFS is not set
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
# CONFIG_SUNOS_EMUL is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Generic Driver Options
#
# CONFIG_FW_LOADER is not set
#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_BW2 is not set
# CONFIG_FB_CG3 is not set
# CONFIG_FB_CG6 is not set
CONFIG_FB_SBUS=y
CONFIG_FB_TCX=y
# CONFIG_FB_CG14 is not set
# CONFIG_FB_P9100 is not set
# CONFIG_FB_LEO is not set
# CONFIG_FB_VIRTUAL is not set
#
# Console display driver support
#
# CONFIG_VGA_CONSOLE is not set
# CONFIG_MDA_CONSOLE is not set
# CONFIG_PROM_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
# CONFIG_FONTS is not set
CONFIG_FONT_SUN8x16=y
# CONFIG_FONT_SUN12x22 is not set
#
# Logo configuration
#
# CONFIG_LOGO is not set
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Serial drivers
#
#
# Non-8250 serial port support
#
CONFIG_SERIAL_SUNCORE=y
CONFIG_SERIAL_SUNZILOG=y
# CONFIG_SERIAL_SUNZILOG_CONSOLE is not set
CONFIG_SERIAL_CORE=y
#
# Misc Linux/SPARC drivers
#
# CONFIG_SUN_OPENPROMIO is not set
CONFIG_SUN_MOSTEK_RTC=m
#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_LOOP is not set
# CONFIG_BLK_DEV_NBD is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_RAM is not set
#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set
#
# SCSI device support
#
CONFIG_SCSI=y
#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_REPORT_LUNS=y
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
#
# SCSI low-level drivers
#
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_QLOGICPTI is not set
# CONFIG_SCSI_DEBUG is not set
CONFIG_SCSI_SUNESP=y
#
# Fibre Channel support
#
# CONFIG_FC4 is not set
#
# Networking support
#
CONFIG_NET=y
#
# Networking options
#
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_XFRM_USER is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_LLC is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
CONFIG_SUNLANCE=m
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNQE is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_MYRI_SBUS is not set
#
# Ethernet (10000 Mbit)
#
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set
#
# Token Ring devices (depends on LLC=y)
#
#
# Wan interfaces
#
# CONFIG_WAN is not set
#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set
#
# Unix98 PTY support
#
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
#
# Input device support
#
CONFIG_INPUT=y
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not set
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set
#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
# CONFIG_SERIO_I8042 is not set
CONFIG_SERIO_SERPORT=y
# CONFIG_SERIO_CT82C710 is not set
#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ATKBD is not set
CONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
# CONFIG_MOUSE_PS2 is not set
CONFIG_MOUSE_SERIAL=y
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_PCSPKR is not set
CONFIG_INPUT_SPARCSPKR=m
CONFIG_INPUT_UINPUT=m
#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set
#
# DOS/FAT/NT Filesystems
#
# CONFIG_FAT_FS is not set
# CONFIG_NTFS_FS is not set
#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_DEVPTS_FS=y
# CONFIG_DEVPTS_FS_XATTR is not set
# CONFIG_TMPFS is not set
CONFIG_RAMFS=y
#
# Miscellaneous filesystems
#
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
#
# Network File Systems
#
# CONFIG_NFS_FS is not set
# CONFIG_NFSD is not set
# CONFIG_EXPORTFS is not set
# CONFIG_SMB_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_NEC98_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
CONFIG_SUN_PARTITION=y
# CONFIG_EFI_PARTITION is not set
#
# Sound card support
#
# CONFIG_SOUND is not set
#
# USB support
#
#
# Bluetooth support
#
# CONFIG_BT is not set
#
# Watchdog
#
# CONFIG_SOFT_WATCHDOG is not set
#
# Kernel hacking
#
# CONFIG_DEBUG_SLAB is not set
# CONFIG_MAGIC_SYSRQ is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
#
# Security options
#
# CONFIG_SECURITY is not set
#
# Cryptographic options
#
# CONFIG_CRYPTO is not set
#
# Library routines
#
# CONFIG_CRC32 is not set
System Configuration: Sun Microsystems sun4m
Memory size: 32 Megabytes
System Peripherals (PROM Nodes):
Node 0xffd2a274
clock-frequency: 0510ff40
name: 'SUNW,SPARCstation-4'
model: 'SUNW,501-2572'
banner-name: 'SPARCstation 4'
idprom: 01800800.20774842.00000000.774842a9.00000000.00000000.00000000.00000000
breakpoint-trap: 0000007f
compatible: 'sun4m'
get-unum: ffd0f540
stdout-path: '/iommu@0,10000000/sbus@0,10001000/SUNW,tcx@2,800000'
stdin-path: '/obio/zs@0,0'
Node 0xffd2be68
name: 'packages'
Node 0xffd39eb4
name: 'disk-label'
Node 0xffd3a258
disk-write-fix:
name: 'deblocker'
Node 0xffd40358
name: 'obp-tftp'
Node 0xffd2be9c
tpe-link-test?: 'true'
output-device: 'screen'
input-device: 'keyboard'
keyboard-click?: 'false'
keymap:
ttyb-rts-dtr-off: 'false'
ttyb-ignore-cd: 'true'
ttya-rts-dtr-off: 'false'
ttya-ignore-cd: 'true'
ttyb-mode: '9600,8,n,1,-'
ttya-mode: '9600,8,n,1,-'
fcode-debug?: 'false'
local-mac-address?: 'false'
screen-#columns: '80'
screen-#rows: '34'
selftest-#megs: '1'
scsi-initiator-id: '7'
silent-mode?: 'false'
auto-boot?: 'true'
watchdog-reboot?: 'true'
diag-file:
diag-device: 'net'
boot-file:
boot-device: 'linux'
sbus-probe-list: '40123'
use-nvramrc?: 'true'
nvramrc: 64657661.6c696173.206c696e.7578202f.696f6d6d.752f7362.75732f65.7370646d.612f6573.702f7364.40332c30.3a610a
sunmon-compat?: 'false'
security-mode: 'none'
security-password:
security-#badlogins: '0'
oem-logo:
oem-logo?: 'false'
oem-banner:
oem-banner?: 'false'
hardware-revision:
last-hardware-update:
testarea: '0'
mfg-switch?: 'false'
diag-switch?: 'false'
name: 'options'
Node 0xffd2bed0
screen: '/iommu@0,10000000/sbus@0,10001000/SUNW,tcx@2,800000'
linux: '/iommu/sbus/espdma/esp/sd@3,0:a'
ttyb: '/obio/zs@0,100000:b'
ttya: '/obio/zs@0,100000:a'
keyboard!: '/obio/zs@0,0:forcemode'
keyboard: '/obio/zs@0,0'
audio: '/iommu/sbus/SUNW,CS4231'
floppy: '/obio/SUNW,fdtwo'
scsi: '/iommu/sbus/espdma@4,8400000/esp@4,8800000'
net-aui: '/iommu/sbus/ledma@4,8400010:aui/le@4,8c00000'
net-tpe: '/iommu/sbus/ledma@4,8400010:tpe/le@4,8c00000'
net: '/iommu/sbus/ledma@4,8400010/le@4,8c00000'
disk: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/sd@3,0'
cdrom: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/sd@6,0:d'
tape: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/st@4,0'
tape0: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/st@4,0'
tape1: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/st@5,0'
disk3: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/sd@3,0'
disk2: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/sd@2,0'
disk1: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/sd@1,0'
disk0: '/iommu/sbus/espdma@4,8400000/esp@4,8800000/sd@0,0'
name: 'aliases'
Node 0xffd330a8
decode-complete:
aligned-allocator:
relative-addressing:
name: 'openprom'
Node 0xffd33118
address: ffee8000
reg: 00000000.10000000.00000300
page-size: 00001000
name: 'iommu'
Node 0xffd3325c
clock-frequency: 01443fd0
scsi-initiator-id: 00000007
address: ffee7000
ranges: 00000000.00000000.00000000.30000000.10000000.00000001.00000000.00000000.40000000.10000000.00000002.00000000.00000000.50000000.10000000.00000003.00000000.00000000.60000000.10000000.00000004.00000000.00000000.70000000.10000000
reg: 00000000.10001000.00000028
slot-address-bits: 0000001c
burst-sizes: 0000003f
device_type: 'hierarchical'
name: 'sbus'
Node 0xffd43ea0
reg: 00000004.08400000.00000010
name: 'espdma'
Node 0xffd4427c
device_type: 'scsi'
clock-frequency: 02625a00
intr: 00000024.00000000
reg: 00000004.08800000.00000040
name: 'esp'
Node 0xffd46138
device_type: 'block'
name: 'sd'
Node 0xffd46850
device_type: 'byte'
name: 'st'
Node 0xffd46f94
reg: 00000004.0c800000.0000001c
intr: 00000033.00000000
interrupts: 00000002
name: 'SUNW,bpp'
Node 0xffd47020
burst-sizes: 0000003f
reg: 00000004.08400010.00000020
name: 'ledma'
Node 0xffd47330
device_type: 'network'
busmaster-regval: 00000007
intr: 00000026.00000000
alias: 'le'
reg: 00000004.08c00000.00000004
name: 'le'
Node 0xffd48c7c
character-set: 'ISO8859-1'
slave-burst-sizes: 0000000f.00000000.0000000f.0000000f.00000000.00000000.00000000.00000004.00000004.00000004.00000004.00000004.00000004
reg: 00000002.00800000.00100000.00000002.02000000.00000000.00000002.04000000.00800000.00000002.06000000.00800000.00000002.0a000000.00000000.00000002.0c000000.00000000.00000002.0e000000.00000000.00000002.00700000.00001000.00000002.00200000.00000004.00000002.00300000.0000081c.00000002.00000000.00010000.00000002.00240000.00000004.00000002.00280000.00000001
vram: 00000001
blit-width: 00000005
stipple-align: 00000005
stip-rop:
tcx-8-bit:
awidth: 00000400
linebytes: 00000400
width: 00000400
height: 00000300
hfporch: 00000020
hbporch: 000000b0
hsync: 00000080
vbporch: 0000001f
vsync: 00000004
vfporch: 00000002
interrupts: 00000005
intr: 00000039.00000000
device_type: 'display'
name: 'SUNW,tcx'
Node 0xffd4d35c
reg: 00000003.0a000000.00000010
name: 'power-management'
Node 0xffd333ec
device_type: 'hierarchical'
ranges: 00000000.00000000.00000000.71000000.01000000
name: 'obio'
Node 0xffd33570
port-b-ignore-cd:
port-a-ignore-cd:
address: ffeeb000
device_type: 'serial'
slave: 00000000
intr: 0000002c.00000000
interrupts: 0000000c
reg: 00000000.00100000.00000008
name: 'zs'
Node 0xffd33624
address: ffee4000
port-b-ignore-cd:
port-a-ignore-cd:
keyboard:
device_type: 'serial'
slave: 00000001
intr: 0000002c.00000000
interrupts: 0000000c
reg: 00000000.00000000.00000008
name: 'zs'
Node 0xffd33724
address: ffee9000
reg: 00000000.00200000.00002000
model: 'mk48t08'
name: 'eeprom'
Node 0xffd3378c
reg: 00000000.00800000.00000001
name: 'slavioconfig'
Node 0xffd337e0
address: ffee6000
reg: 00000000.00900000.00000001
name: 'auxio'
Node 0xffd33830
address: ffeef000.ffeee000
reg: 00000000.00d00000.00000010.00000000.00d10000.00000010
name: 'counter'
Node 0xffd3388c
address: ffeed000.ffeec000
reg: 00000000.00e00000.00000010.00000000.00e10000.00000010
name: 'interrupt'
Node 0xffd416d8
address: ffee5000
intr: 00000022.00000000
interrupts: 00000002
reg: 00000000.00910000.00000001
name: 'power'
Node 0xffd4175c
device_type: 'block'
intr: 0000002b.00000000
interrupts: 0000000b
reg: 00000000.00400000.00000008
name: 'SUNW,fdtwo'
Node 0xffd340b8
reg: 00000000.00000000.00800000.00000000.02000000.00800000.00000000.04000000.00800000.00000000.06000000.00800000
available: 00000000.06000000.007b0000.00000000.04000000.00800000.00000000.02000000.00800000.00000000.00000000.00800000
name: 'memory'
Node 0xffd34174
available: 00000000.fff00000.00100000.00000000.fef00000.00e00000.00000000.00000000.fe400000.00000000.ffd5d000.00181000.00000000.ffd00000.0000b000.00000000.fe400000.00900000
reg: 00000000.00000000.80000000.00000000.80000000.80000000
name: 'virtual-memory'
Node 0xffd431a8
context-table: 00000000.067ff000.00001000
psr-implementation: 00000000
psr-version: 00000004
implementation: 00000000
version: 00000004
cache-line-size: 00000020
cache-nlines: 00000200
page-size: 00001000
dcache-line-size: 00000010
dcache-nlines: 00000200
dcache-associativity: 00000001
icache-line-size: 00000020
icache-nlines: 00000200
icache-associativity: 00000001
ncaches: 00000002
mmu-nctx: 00000100
sparc-version: 00000008
mask_rev: 00000025
device_type: 'cpu'
name: 'FMI,MB86904'
>From davem@redhat.com Wed Jul 23 01:17:57 2003
Return-path: <davem@redhat.com>
Envelope-to: solca@guug.org
Received: from pizda.ninka.net ([216.101.162.242])
by guug.galileo.edu with esmtp (Exim 3.36 #1 (Debian))
id 19fDsq-0008SD-00
for <solca@guug.org>; Wed, 23 Jul 2003 01:17:56 -0600
Received: from pizda.ninka.net (IDENT:davem@localhost.localdomain [127.0.0.1])
by pizda.ninka.net (8.9.3/8.9.3) with SMTP id AAA08806;
Wed, 23 Jul 2003 00:20:08 -0700
Date: Wed, 23 Jul 2003 00:20:08 -0700
From: "David S. Miller" <davem@redhat.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: solca@guug.org, zaitcev@redhat.com, linux-kernel@vger.kernel.org,
sparclinux@vger.kernel.org, debian-sparc@lists.debian.org
Subject: Re: sparc scsi esp depends on pci & hangs on boot
Message-Id: <[🔎] 20030723002008.538dc163.davem@redhat.com>
In-Reply-To: <[🔎] 20030723080222.A5245@infradead.org>
References: <[🔎] 20030722025142.GC25561@guug.org>
<[🔎] 20030722080905.A21280@devserv.devel.redhat.com>
<[🔎] 20030722182609.GA30174@guug.org>
<[🔎] 20030722175400.4fe2aa5d.davem@redhat.com>
<[🔎] 20030723070739.A697@infradead.org>
<[🔎] 20030722232410.7a37ed4d.davem@redhat.com>
<[🔎] 20030723072836.A932@infradead.org>
<[🔎] 20030722232911.2e6fda86.davem@redhat.com>
<[🔎] 20030723074033.A1687@infradead.org>
<[🔎] 20030722235714.5e2b285d.davem@redhat.com>
<[🔎] 20030723080222.A5245@infradead.org>
X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.6; sparc-unknown-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Status: RO
Content-Length: 1658
Lines: 44
On Wed, 23 Jul 2003 08:02:22 +0100
Christoph Hellwig <hch@infradead.org> wrote:
> On Tue, Jul 22, 2003 at 11:57:14PM -0700, David S. Miller wrote:
> > I don't see why this is a problem. Either do this, or fix
> > asm-generic/dma-mapping.h which is not GENERIC because it
> > depends upon something SPECIFIC, specifically PCI.
>
> The latter is what need to be done.
I'll do the following for now.
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1518 -> 1.1519
# include/asm-sparc64/dma-mapping.h 1.1 -> 1.2
# include/asm-sparc/dma-mapping.h 1.1 -> 1.2
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/07/23 davem@nuts.ninka.net 1.1519
# [SPARC]: Do not include asm-generic/dma-mapping.h if !CONFIG_PCI.
# --------------------------------------------
#
diff -Nru a/include/asm-sparc/dma-mapping.h b/include/asm-sparc/dma-mapping.h
--- a/include/asm-sparc/dma-mapping.h Wed Jul 23 00:06:03 2003
+++ b/include/asm-sparc/dma-mapping.h Wed Jul 23 00:06:03 2003
@@ -1 +1,5 @@
+#include <linux/config.h>
+
+#ifdef CONFIG_PCI
#include <asm-generic/dma-mapping.h>
+#endif
diff -Nru a/include/asm-sparc64/dma-mapping.h b/include/asm-sparc64/dma-mapping.h
--- a/include/asm-sparc64/dma-mapping.h Wed Jul 23 00:06:03 2003
+++ b/include/asm-sparc64/dma-mapping.h Wed Jul 23 00:06:03 2003
@@ -1 +1,5 @@
+#include <linux/config.h>
+
+#ifdef CONFIG_PCI
#include <asm-generic/dma-mapping.h>
+#endif
Reply to: