aic7xxx.c patch

Michael D. Mattice (mattice@mattice.reslife.okstate.edu)
Mon, 3 Mar 97 15:43 CST


Yesterday, while playing with our soon to be production web server, I
noticed that upon boot initialization of the card, it reports it's ID as
7 when it's 15. I really can't believe that this typo is in everything
since at least 2.0.27...

Mike Mattice

--- linux/drivers/scsi/aic7xxx.c Mon Mar 3 15:34:50 1997
+++ linux/drivers/scsi/aic7xxx.c Mon Mar 3 15:35:15 1997
@@ -872,11 +872,11 @@

printk(" SCSI CHANNEL A:\n"
" scsi id %d\n"
" scsi selection timeout %d ms\n"
" scsi bus reset at power-on %sabled\n",
- scsi_conf & 0x07,
+ scsi_conf & 0x0f,
SST[(scsi_conf >> 3) & 0x03],
(scsi_conf & 0x40) ? "en" : "dis");

if ((p->chip_type == AIC_777x) && (p->parity == AIC_UNKNOWN))
{

-- 
\|/ ____ \|/  Zaphod Beeblebrox in 2000!! 
"@'/ ,. \`@"  
/_| \__/ |_\  Michael Mattice - EE student at OK State U
   \__U_/     mattice@mattice.reslife.okstate.edu