Re: [PATCH] pmac_zilog: initialize port spinlock on all init paths
From: Anton Blanchard
Date: Mon Jul 19 2004 - 21:36:45 EST
> Sorry, I tend to think "ppc == pmac". So, a couple of thoughts:
>
> (1) Can you make the i8042 disable itself if the hardware isn't there?
> Those damned bad port messages eat my entire syslog buffer.
We put a quick fix in the ppc64 port. If you pre reserve the i8042 region
then the driver will fail to initialise:
/*
* Some machines have an unterminated i8042 so check the device
* tree and reserve the region if it does not appear. Later on
* the i8042 code will try and reserve this region and fail.
*/
if (!(i8042 = of_find_node_by_type(NULL, "8042")))
request_region(I8042_DATA_REG, 16, "reserved (no i8042)");
Anton
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/