Date: Thu, 30 Jul 1998 13:31:13 +0200 (DST) From: "Thomas Brezing" <tb@roesle.arbach.de> To: AIC7xxx@FreeBSD.ORG Subject: 7890/aic7xxx 5.1.0pre5 part. success Message-ID: <199807301131.NAA00028@roesle.arbach.de>
next in thread | raw e-mail | index | archive | help
Hi! I got the thing running! On an Asus P2B-DS Mainbord ( 7890 onboard) and Linux 2.0.35 with a little patch in the aic_outb - function: static inline void aic_outb(struct aic7xxx_host *p, unsigned char val, long port) { if(p->maddr) p->maddr[port] = val; else outb(val, p->base + port); mb(); udelay ( 500); /* new! @tb@ */ } Further I made the following changes: static void aic7xxx_reset_current_bus(struct aic7xxx_host *p) { unsigned char scsiseq; /* Disable reset interrupts. */ aic_outb(p, aic_inb(p, SIMODE1) & ~ENSCSIRST, SIMODE1); /* Turn on the bus reset. */ scsiseq = aic_inb(p, SCSISEQ); aic_outb(p, scsiseq | SCSIRSTO, SCSISEQ); aic7xxx_delay ( 1); /* was: udelay(5000); @tb@ */ /* Turn off the bus reset. */ aic_outb(p, scsiseq & ~SCSIRSTO, SCSISEQ); aic7xxx_clear_intstat(p); /* Re-enable reset interrupts. */ aic_outb(p, aic_inb(p, SIMODE1) | ENSCSIRST, SIMODE1); udelay(20000); /* was: udelay ( 2000); @tb@ */ } The System is up now for 6 days under havy load as archive server with 2 LVD Disks, 2 SE Disk, 1 SE CDROM and 1 SE DAT Streamer. Anybody out there to verify my patches? Thomas. -- Ing.-Buero Thomas Brezing Xlink PoP email: hallo@arbach.de Burgstr. 24 Reutlingen/Tuebingen phone: +49 7121 9890 90 D-72800 Eningen fax: +49 7121 9890 60 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe aic7xxx" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807301131.NAA00028>