Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Q&D hack for Future Domain 16x0 under Alpha Linux
@ 1998-12-17  5:00 Steve Bour
  1998-12-17  5:00 ` Steve Bour
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Bour @ 1998-12-17  5:00 UTC (permalink / 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-12-17  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-17  5:00 Q&D hack for Future Domain 16x0 under Alpha Linux Steve Bour
1998-12-17  5:00 ` Steve Bour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox