Date: Wed, 04 Oct 1995 19:34:14 -0700 From: David Greenman <davidg@Root.COM> To: "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com> Cc: gary@palmer.demon.co.uk (Gary Palmer), archie@tribe.com, freebsd-questions@freebsd.org Subject: Re: ix0: device timeout Message-ID: <199510050234.TAA28100@corbin.Root.COM> In-Reply-To: Your message of "Wed, 04 Oct 95 17:49:18 PDT." <199510050049.RAA04644@GndRsh.aac.dev.com>
next in thread | previous in thread | raw e-mail | index | archive | help
>The if_ix.c driver can fully read the softset IRQ value and reports >any descrepancy between it and what the kernel config value is: > /* > * Get the encoded interrupt number from the EEPROM, check it > * against the passed in IRQ. Issue a warning if they do not > * match. Always use the passed in IRQ, not the one in the EEPROM. > */ > irq = ixeeprom_read(unit, eeprom_config1); > irq = (irq & IRQ) >> IRQ_SHIFT; > sc->irq_encoded = irq; > irq = irq_translate[irq]; > if (irq != dvp->id_irq) { > printf("Warning board is configured for IRQ %d\n", irq); > } The above is actually quite broken - everything from printing the bit encoded irq as a decimal number (so 10 comes out as 1024) to not doing what the comment says (using the kernel compiled value if they don't match). I've fixed these bugs and added the ability for "?" to work. The changes will be in -current soon. -DG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199510050234.TAA28100>