Re: [PATCH 07/11] parisc: superio: do not use PCI resources before pci_enable_device()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Bottomley
Date: Tuesday, August 3, 2010 - 9:11 am

On Tue, 2010-08-03 at 19:44 +0400, Kulikov Vasiliy wrote:

This really makes no sense; we want the information printed before we
start all the discovery prints, not after.  I assume lots of
initialisers want this too, so it looks particularly silly not to have
pci_name() returning the correct value until enable time.

If this is just the name initially assigned may change, this definitely
isn't true for parisc, and even for other things, it would be better to
print something than nothing.

James


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 07/11] parisc: superio: do not use PCI resource ..., James Bottomley, (Tue Aug 3, 9:11 am)