From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,46c6c5a1256277ac,start X-Google-Attributes: gid111c93,public From: Steve Bour Subject: Q&D hack for Future Domain 16x0 under Alpha Linux Date: 1998/12/17 Message-ID: <36796ADA.8A3B5F1C@alpha.alltel.net>#1/1 X-Deja-AN: 423367099 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@client.alltel.net X-Trace: news1.alltel.net 913926858 25320 166.102.188.35 (17 Dec 1998 20:34:18 GMT) Organization: ALLTEL Internet Services Mime-Version: 1.0 NNTP-Posting-Date: 17 Dec 1998 20:34:18 GMT Newsgroups: comp.os.linux.alpha 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