Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/conf Allow for pcic(9) attachments on the IS...
details: https://anonhg.NetBSD.org/src/rev/dcf044d6e8eb
branches: trunk
changeset: 572654:dcf044d6e8eb
user: joff <joff%NetBSD.org@localhost>
date: Sun Jan 09 21:40:02 2005 +0000
description:
Allow for pcic(9) attachments on the ISA bus
diffstat:
sys/arch/evbarm/conf/files.tsarm | 31 ++++++++++++++++++++++++++++++-
1 files changed, 30 insertions(+), 1 deletions(-)
diffs (42 lines):
diff -r e4bc5b1976e2 -r dcf044d6e8eb sys/arch/evbarm/conf/files.tsarm
--- a/sys/arch/evbarm/conf/files.tsarm Sun Jan 09 21:35:51 2005 +0000
+++ b/sys/arch/evbarm/conf/files.tsarm Sun Jan 09 21:40:02 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.tsarm,v 1.4 2005/01/08 20:39:18 joff Exp $
+# $NetBSD: files.tsarm,v 1.5 2005/01/09 21:40:02 joff Exp $
#
# First try for arm-specific configuration info
#
@@ -34,3 +34,32 @@
device tslcd: hd44780
attach tslcd at tspldbus
file arch/evbarm/tsarm/tslcd.c tslcd
+
+# XXXX pcic here because it needs to be late. The catch: pcic needs
+# to be late, so devices which attach to it are attached late. But it
+# needs to be before its isa and pci attachments. This answer is
+# non-optimal, but I don't have a better answer right now.
+
+# PCIC pcmcia controller
+# XXX this needs to be done very late, so it's done here. This feels
+# like a kludge, but it might be for the best.
+
+defparam PCIC_ISA_ALLOC_IOBASE
+defparam PCIC_ISA_ALLOC_IOSIZE
+defparam PCIC_ISA_INTR_ALLOC_MASK
+
+device pcic: pcmciabus
+file dev/ic/i82365.c pcic
+
+# PCIC pcmcia controller on ISA bus.
+attach pcic at isa with pcic_isa
+file dev/isa/i82365_isa.c pcic_isa
+
+# Code common to ISA and ISAPnP attachments
+file dev/isa/i82365_isasubr.c pcic_isa
+
+# this wants to be probed as late as possible.
+#
+# Machine-independent PCMCIA drivers
+#
+include "dev/pcmcia/files.pcmcia"
Home |
Main Index |
Thread Index |
Old Index