Re: PCI order

Jeff Garzik (jgarzik@mandrakesoft.com)
Tue, 30 Nov 1999 13:20:53 +0000


Martin Mares wrote:
>
> Hi!
>
> > I recently did some hardware switching in my house and need to know
> > how to switch the detection of the aic7xxx controllers in the kernel. I've
> > got a 7880 on the motherboard and a 2940u2w in there but the motherboard
> > card only has a 68 pin connector. The bios detects the 2940u2w first but
> > Linux reverses it so the 7880 is done first. With 2.3.12 I can use
> > "aic7xxx=reverse_scan" but that doesn't seem to do anything on 2.3.29. I've
> > tried "pci=reverse" but that also didn't seem to have an effect. Is there
> > another argument I should pass to the kernel or am I going to have to try
> > hard coding it?
>
> The "aic7xxx=..." options don't work in 2.3.29. This patch should fix
> this, but I didn't try it.

Setup functions should return an integer value...

Jeff

>
> Have a nice fortnight
> --
> Martin `MJ' Mares <mj@ucw.cz> <mj@suse.cz> http://atrey.karlin.mff.cuni.cz/~mj/
> "Light-year? One-third less calories than a regular year."
>
> --- linux/drivers/scsi/aic7xxx.c.mj Tue Nov 30 09:48:08 1999
> +++ linux/drivers/scsi/aic7xxx.c Tue Nov 30 09:49:08 1999
> @@ -242,6 +242,7 @@
> #include <linux/proc_fs.h>
> #include <linux/blk.h>
> #include <linux/tqueue.h>
> +#include <linux/init.h>
> #include "sd.h"
> #include "scsi.h"
> #include "hosts.h"
> @@ -1499,8 +1500,8 @@
> * to a parameter with a ':' between the parameter and the value.
> * ie. aic7xxx=unpause:0x0A,extended
> *-F*************************************************************************/
> -void
> -aic7xxx_setup(char *s, int *dummy)
> +static void
> +aic7xxx_setup(char *s)
> {
> int i, n;
> char *p;
> @@ -1638,6 +1639,8 @@
> }
> }
> }
> +
> +__setup("aic7xxx=", aix7xxx_setup);
>
> /*+F*************************************************************************
> * Function:
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

-- 
Jeff Garzik              | Just once, I wish we would encounter
Building 1024            | an alien menace that wasn't immune to
MandrakeSoft, Inc.       | bullets.   -- The Brigadier, "Dr. Who"

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/