Re: [PATCH 1/4] msi archetecture init hook

From: Mark Maule <maule_at_sgi.com>
Date: 2005-12-22 06:03:49
On Wed, Dec 21, 2005 at 11:53:46AM -0700, Matthew Wilcox wrote:
> On Wed, Dec 21, 2005 at 12:42:36PM -0600, Mark Maule wrote:
> > Index: msi/include/asm-sparc/msi.h
> > ===================================================================
> > --- msi.orig/include/asm-sparc/msi.h	2005-12-13 12:22:42.785246074 -0600
> > +++ msi/include/asm-sparc/msi.h	2005-12-13 16:09:49.194541334 -0600
> > @@ -28,4 +28,6 @@
> >  			      "i" (ASI_M_CTL), "r" (MSI_ASYNC_MODE) : "g3");
> >  }
> >  
> > +static inline int msi_arch_init(void)	{ return 0; }
> > +
> >  #endif /* !(_SPARC_MSI_H) */
> 
> As far as I can tell, you can't select MSI on Sparc, so this doesn't
> need to be here ...

Ok.  I'm a little confused on why we have asm-sparc/msi.h then.  Should I
yank it, or leave it for consistency and return -EINVAL so pci_enable_msi()
could fail somewhat gracefully on sparc ?

Mark
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Dec 22 06:04:26 2005

This archive was generated by hypermail 2.1.8 : 2005-12-22 06:04:34 EST