On Wed, 2019-01-30 at 16:42 -0800, James Bottomley wrote:
> The aic94xx driver is currently failing to load with errors like
> 
> sysfs: cannot create duplicate filename 
> '/devices/pci0000:00/0000:00:03.0/0000:02:00.3/0000:07:02.0/revision'
> 
> Because the PCI code had recently added a file named 'revision' to
> every PCI device.  Fix this by renaming the aic94xx revision file to
> aic_revision.  This is safe to do for us because as far as I can tell,
> there's nothing in userspace relying on the current aic94xx revision
> file so it can be renamed without breaking anything.
> 
> Fixes: 702ed3be1b1b (PCI: Create revision file in sysfs)
> Cc: sta...@vger.kernel.org
> Signed-off-by: James Bottomley <james.bottom...@hansenpartnership.com>

I finally managed to test this on actual hardware and it works for me. 
I don't have any aic94xx cards, just a couple of IBM donated machines
that have aic94xx built in on an internal PCI express bus daughter
card, so I had to find them and persuade them to boot modern kernels
before I could actually test anything, hence the delay.

James

Reply via email to