[coreboot] [PATCH] i82801xx IRQ Fix Up

Stefan Reinauer stepan at coresystems.de
Fri May 1 11:15:41 CEST 2009


On 01.05.2009 3:32 Uhr, Joseph Smith wrote:
> This is a patch to use another IRQ besides IRQ12 to fix conflicts with
> i8042 - PS/2 Mouse, most commonly assigned IRQ12 by the SuperIO. It took me
> this long to catch this because I usually use a USB mouse.
>   
Good spot!

> Index: src/southbridge/intel/i82801xx/i82801xx_lpc.c
> ===================================================================
> --- src/southbridge/intel/i82801xx/i82801xx_lpc.c	(revision 4240)
> +++ src/southbridge/intel/i82801xx/i82801xx_lpc.c	(working copy)
> @@ -58,14 +58,16 @@
>   */
>  
>  #define PIRQA 0x03
> -#define PIRQB 0x05
> -#define PIRQC 0x06
> -#define PIRQD 0x07
> -#define PIRQE 0x09
> -#define PIRQF 0x0A
> -#define PIRQG 0x0B
> -#define PIRQH 0x0C
> +#define PIRQB 0x04
> +#define PIRQC 0x05
> +#define PIRQD 0x06
> +#define PIRQE 0x07
> +#define PIRQF 0x09
> +#define PIRQG 0x0A
> +#define PIRQH 0x0B
>   


Hard coding these looks like it could work on one board and fail on
another. For the i82801gx I added these to the chip's config structure,
so they can be set in the device tree of the mainboard's config.lb.
Maybe that's what you want here, too?

Stefan

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090501/d968e8cf/attachment.html>


More information about the coreboot mailing list