From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,46c6c5a1256277ac X-Google-Attributes: gid111c93,public From: Steve Bour Subject: Re: Q&D hack for Future Domain 16x0 under Alpha Linux Date: 1998/12/17 Message-ID: <3679708E.40146119@alpha.alltel.net>#1/1 X-Deja-AN: 423373163 Content-Transfer-Encoding: 7bit References: <36796ADA.8A3B5F1C@alpha.alltel.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@client.alltel.net X-Trace: news1.alltel.net 913928318 25496 166.102.188.35 (17 Dec 1998 20:58:38 GMT) Organization: ALLTEL Internet Services Mime-Version: 1.0 NNTP-Posting-Date: 17 Dec 1998 20:58:38 GMT Newsgroups: comp.os.linux.alpha Just to clarify: I own *both* a FlashPoint LW *and* a TMC-16x0 (TMC-1800 chip). Of course, the patch below doesn't work with the FlashPoint...I just needed *any* SCSI card I owned to work so I could restore my backup from DAT. My hope *is* to hack the FlashPoint driver to work, but that may be beyond my capabilities... --Steve Steve Bour wrote: > 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