Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Steve Bour <jsbour@alpha.alltel.net>
Subject: Q&D hack for Future Domain 16x0 under Alpha Linux
Date: 1998/12/17	[thread overview]
Message-ID: <36796ADA.8A3B5F1C@alpha.alltel.net> (raw)

When I discovered my BusLogic Flashpoint wasn't going to work with my
Alpha (RedHat's hardware compatibility page says it will, the code says
otherwise) I took it upon myself to try to hack fdomain.c to work under
Alpha Linux.  To my amazement, it worked!

WARNING:  ONLY TESTED ON *MY* MACHINE, a Cabriolet (PC64-275) -- USE AT
YOUR OWN RISK!  My board doesn't have a BIOS chip, so I did a
"fdomain=0x150,5" as part of the kernel command line in MILO.

Diff against RH5.2 fdomain.c v 5.44:
# diff fdomain.c.old fdomain.c
403,409c403,409
<    (void *)0xc8000,
<    (void *)0xca000,
<    (void *)0xce000,
<    (void *)0xde000,
<    (void *)0xcc000,           /* Extra addresses for PCI boards */
<    (void *)0xd0000,
<    (void *)0xe0000,
---
>    (void *)0xc8000+IDENT_ADDR,
>    (void *)0xca000+IDENT_ADDR,
>    (void *)0xce000+IDENT_ADDR,
>    (void *)0xde000+IDENT_ADDR,
>    (void *)0xcc000+IDENT_ADDR,                /* Extra addresses for
PCI boards */
>    (void *)0xd0000+IDENT_ADDR,
>    (void *)0xe0000+IDENT_ADDR,
411c411
< #define ADDRESS_COUNT (sizeof( addresses ) / sizeof( unsigned ))
---
> #define ADDRESS_COUNT (sizeof( addresses ) / sizeof( unsigned long))

If there is enough interest, I can ifdef it appropriately and clean it
up a little...

ALPHA KERNEL HACKERS:  is this the correct approach to take WRT physical
memory access to a memmapped ISA I/O device?  Pointers appreciated.

Now, for the FlashPoint...

--Steve Bour
   jsbour@alpha.alltel.net





             reply	other threads:[~1998-12-17  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-17  5:00 Steve Bour [this message]
1998-12-17  5:00 ` Q&D hack for Future Domain 16x0 under Alpha Linux Steve Bour
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