linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [bk patches] 2.4.x quick fixes
@ 2003-08-31 14:05 Jeff Garzik
  2003-08-31 22:06 ` J.A. Magallon
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff Garzik @ 2003-08-31 14:05 UTC (permalink / raw)
  To: marcelo; +Cc: marcelo, linux-kernel


Marcelo, please do a

	bk pull bk://kernel.bkbits.net/jgarzik/misc-2.4

This will update the following files:

 arch/i386/kernel/pci-irq.c |    1 +
 drivers/pci/pci.c          |    2 +-
 include/linux/pci.h        |    2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

through these ChangeSets:

<jgarzik@redhat.com> (03/08/31 1.1106)
   [BK] ignore auto-generated files lib/{crc32table.h,gen_crc32table}

<jgarzik@redhat.com> (03/08/31 1.1105)
   [PCI] fix export of pdev_set_mwi/pci_generic_prep_mwi
   
   Missed in recent PCI MWI change.

<jgarzik@redhat.com> (03/08/31 1.1104)
   [ia32] add PCI id for VIA irq router
   
   Noticed by Sebastian Reichelt.


diff -Nru a/arch/i386/kernel/pci-irq.c b/arch/i386/kernel/pci-irq.c
--- a/arch/i386/kernel/pci-irq.c	Sun Aug 31 09:57:19 2003
+++ b/arch/i386/kernel/pci-irq.c	Sun Aug 31 09:57:19 2003
@@ -610,6 +610,7 @@
 		case PCI_DEVICE_ID_VIA_82C586_0:
 		case PCI_DEVICE_ID_VIA_82C596:
 		case PCI_DEVICE_ID_VIA_82C686:
+		case PCI_DEVICE_ID_VIA_8231:
 		/* FIXME: add new ones for 8233/5 */
 			r->name = "VIA";
 			r->get = pirq_via_get;
diff -Nru a/drivers/pci/pci.c b/drivers/pci/pci.c
--- a/drivers/pci/pci.c	Sun Aug 31 09:57:19 2003
+++ b/drivers/pci/pci.c	Sun Aug 31 09:57:19 2003
@@ -2151,7 +2151,7 @@
 EXPORT_SYMBOL(pci_set_master);
 EXPORT_SYMBOL(pci_set_mwi);
 EXPORT_SYMBOL(pci_clear_mwi);
-EXPORT_SYMBOL(pdev_set_mwi);
+EXPORT_SYMBOL(pci_generic_prep_mwi);
 EXPORT_SYMBOL(pci_set_dma_mask);
 EXPORT_SYMBOL(pci_dac_set_dma_mask);
 EXPORT_SYMBOL(pci_assign_resource);
diff -Nru a/include/linux/pci.h b/include/linux/pci.h
--- a/include/linux/pci.h	Sun Aug 31 09:57:19 2003
+++ b/include/linux/pci.h	Sun Aug 31 09:57:19 2003
@@ -628,7 +628,7 @@
 #define HAVE_PCI_SET_MWI
 int pci_set_mwi(struct pci_dev *dev);
 void pci_clear_mwi(struct pci_dev *dev);
-int pdev_set_mwi(struct pci_dev *dev);
+int pci_generic_prep_mwi(struct pci_dev *dev);
 int pci_set_dma_mask(struct pci_dev *dev, u64 mask);
 int pci_dac_set_dma_mask(struct pci_dev *dev, u64 mask);
 int pci_assign_resource(struct pci_dev *dev, int i);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bk patches] 2.4.x quick fixes
  2003-08-31 14:05 [bk patches] 2.4.x quick fixes Jeff Garzik
@ 2003-08-31 22:06 ` J.A. Magallon
  2003-09-03 17:01   ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: J.A. Magallon @ 2003-08-31 22:06 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: marcelo, linux-kernel


On 08.31, Jeff Garzik wrote:
> 
> Marcelo, please do a
> 
> 	bk pull bk://kernel.bkbits.net/jgarzik/misc-2.4
> 
> This will update the following files:
> 
>  arch/i386/kernel/pci-irq.c |    1 +
>  drivers/pci/pci.c          |    2 +-
>  include/linux/pci.h        |    2 +-
>  3 files changed, 3 insertions(+), 2 deletions(-)
> 

Against pre2, this is missing to build the thing:

--- linux-2.4.23-pre2-jam1m/drivers/pci/pci.c.orig	2003-08-31 23:59:15.000000000 +0200
+++ linux-2.4.23-pre2-jam1m/drivers/pci/pci.c	2003-09-01 00:00:22.000000000 +0200
@@ -908,7 +908,7 @@
 }
 
 /**
- * pdev_set_mwi - arch helper function for pcibios_set_mwi
+ * pci_generic_prep_mwi - arch helper function for pcibios_set_mwi
  * @dev: the PCI device for which MWI is enabled
  *
  * Helper function for implementation the arch-specific pcibios_set_mwi
@@ -918,7 +918,7 @@
  * RETURNS: An appriopriate -ERRNO error value on eror, or zero for success.
  */
 int
-pdev_set_mwi(struct pci_dev *dev)
+pci_generic_prep_mwi(struct pci_dev *dev)
 {
 	int rc = 0;
 	u8 cache_size;
@@ -966,7 +966,7 @@
 #ifdef HAVE_ARCH_PCI_MWI
 	rc = pcibios_set_mwi(dev);
 #else
-	rc = pdev_set_mwi(dev);
+	rc = pci_generic_prep_mwi(dev);
 #endif
 
 	if (rc)

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.2 (Cooker) for i586
Linux 2.4.23-pre2-jam1m (gcc 3.3.1 (Mandrake Linux 9.2 3.3.1-1mdk))

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bk patches] 2.4.x quick fixes
  2003-08-31 22:06 ` J.A. Magallon
@ 2003-09-03 17:01   ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2003-09-03 17:01 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: marcelo, linux-kernel

J.A. Magallon wrote:
> On 08.31, Jeff Garzik wrote:
> 
>>Marcelo, please do a
>>
>>	bk pull bk://kernel.bkbits.net/jgarzik/misc-2.4
>>
>>This will update the following files:
>>
>> arch/i386/kernel/pci-irq.c |    1 +
>> drivers/pci/pci.c          |    2 +-
>> include/linux/pci.h        |    2 +-
>> 3 files changed, 3 insertions(+), 2 deletions(-)
>>
> 
> 
> Against pre2, this is missing to build the thing:
> 
> --- linux-2.4.23-pre2-jam1m/drivers/pci/pci.c.orig	2003-08-31 23:59:15.000000000 +0200
> +++ linux-2.4.23-pre2-jam1m/drivers/pci/pci.c	2003-09-01 00:00:22.000000000 +0200


Already fixed.  Check out the 2.4 BK snapshots for the fixes, until 
-pre3 is out.

Thanks,

	Jeff




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-09-03 17:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-31 14:05 [bk patches] 2.4.x quick fixes Jeff Garzik
2003-08-31 22:06 ` J.A. Magallon
2003-09-03 17:01   ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).