[PATCH] sky2: pci config space checking
authorStephen Hemminger <shemminger@osdl.org>
Mon, 30 Jan 2006 19:37:55 +0000 (11:37 -0800)
committerJeff Garzik <jgarzik@pobox.com>
Tue, 7 Feb 2006 07:00:35 +0000 (02:00 -0500)
commit2d42d21f11c20b94ea0222637e20e2630845afe4
treeed740ea45977801bb9017291449a8c8fa57bb4fe
parent08c06d8a9063c81f6a21c9f275aa1ee49d4bf380
[PATCH] sky2: pci config space checking

There were bugs in mmconfig access to PCI space, up to and
include 2.6.16-rc1. These prevented the sky2 driver from being
able to clear PCI express errors.

This patch makes the driver check (during probe), for errors
in PCI config access and fail.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/sky2.c
drivers/net/sky2.h