From: Jouni Malinen (jkmaline_at_cc.hut.fi)
Date: 2002-06-07 16:18:45 UTC
On Wed, Jun 05, 2002 at 02:58:07PM -0400, Pavel Roskin wrote:
> Everything is fine with modern kernels (2.4.19-preX). Unfortunately, PCI
> support has changed significantly during the "stable" 2.4.x series.
I usually use quite recent kernels when testing the driver and I wasn't aware of these changes before. I went through all changes to linux/pci.h in 2.4.x releases and current CVS version of Host AP driver has proper #if/#endif blocks for the changed PCI stuff. I haven't tested the driver with older kernel versions, but I would assume it would now also work with versions 2.4.0 to 2.4.5 that were affected by this issue.
> > function `pci_disable_device'
> Perhars that function didn't exist back then.
Added in Linux 2.4.4.
> Remove all calls to pci_disable_device. Try loading and unloading the
> driver to make sure it won't crash on unload when you don't expect it.
pci_disable_device() should not really be needed at all unless PRISM2_BUS_MASTER is defined since it only disables PCI bus mastering.
-- Jouni Malinen PGP id EFC895FA