From: larrys@lexis-nexis.com (Larry Snyder)
To: axp-list@redhat.com
Subject: AS200 pcmcia success!
Date: Sun, 21 Feb 1999 18:42:59 -0500 (EST) [thread overview]
Message-ID: <199902212343.SAA11032@ra.lexis-nexis.com> (raw)
In-Reply-To: <Pine.LNX.4.05.9902210108240.13075-100000@earth.terran.org>
Thanks, folks, you both pointed me in the right direction.
The fix (lifted from a post to the 'beta' discussion group on
hyper.stanford.edu from Marc.Zyngier@bull.net):
In dump_i365.c add the following right after the first three #includes
#ifdef __alpha__
#ifndef outb_p
#define outb_p outb
#endif
#ifndef inb_p
#define inb_p inb
#endif
#endif
The header files were being included, the conditional stuff was what
shot me. Oh yeah, the other problem was my bad. I brewed up a new
kernel w/ monolithic ide support (and parport ide, just in case pcmcia
uses any of the same hooks) and my ide_register/unregister problems
vanished. Ide as a set of modules didn't work, even if manually
insmod'd before plugging the flash card in. Amazing how easy it can
become to forget about ide when you get wrapped up in these boxes :-)
Thanx again,
-ls-
"B. James Phillippe" <bryan@terran.org> wrote:
> On Sat, 20 Feb 1999, Michal Jaegermann wrote:
>
> > Larry Snyder wrote:
> > > dump_i365.c(.text+0x28): undefined reference to `outb_p'
> > > dump_i365.c(.text+0x40): undefined reference to `inb_p'
> >
> ...
> > That reveals immediately that outb_p (and inb_p) is a macro defined
> > in <asm/io.h>. Looks like that the header was not included, so
> > include it.
>
> It seems pausing IO functions are only defined #ifdef __KERNEL__ in
> <asm/io.h>. Perhaps he should try adding -D__KERNEL__ to the CFLAGS.
>
> -bp
> --
> B. James Phillippe . bryan@terran.org
> Software Engineer, WGT Inc. . http://www.terran.org/~bryan
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
prev parent reply other threads:[~1999-02-21 23:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-02-21 6:11 pcmcia questions (long) Larry Snyder
1999-02-21 6:56 ` Michal Jaegermann
1999-02-21 7:09 ` Larry Snyder
1999-02-21 9:20 ` B. James Phillippe
1999-02-21 23:42 ` Larry Snyder [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox