- kconfigurable-resources-driver-pci-changes.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     kconfigurable resources: driver pci changes

has been removed from the -mm tree.  Its filename is

     kconfigurable-resources-driver-pci-changes.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.

------------------------------------------------------
Subject: kconfigurable resources: driver pci changes
From: Vivek Goyal <vgoyal@xxxxxxxxxx>


o Changes to drivers/pci/* for kconfigurable resources.

Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/pci/bus.c       |   10 +++++-----
 drivers/pci/pci-sysfs.c |    4 ++--
 drivers/pci/pci.h       |    6 +++---
 drivers/pci/proc.c      |    4 ++--
 drivers/pci/setup-res.c |    6 +++---
 include/linux/pci.h     |   13 +++++++------
 6 files changed, 22 insertions(+), 21 deletions(-)

diff -puN drivers/pci/bus.c~kconfigurable-resources-driver-pci-changes drivers/pci/bus.c
--- devel/drivers/pci/bus.c~kconfigurable-resources-driver-pci-changes	2006-05-11 15:18:13.000000000 -0700
+++ devel-akpm/drivers/pci/bus.c	2006-05-11 15:18:13.000000000 -0700
@@ -34,11 +34,11 @@
  */
 int
 pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res,
-	u64 size, u64 align, u64 min,
-	unsigned int type_mask,
-	void (*alignf)(void *, struct resource *,
-			u64, u64),
-	void *alignf_data)
+		resource_size_t size, resource_size_t align,
+		resource_size_t min, unsigned int type_mask,
+		void (*alignf)(void *, struct resource *, resource_size_t,
+				resource_size_t),
+		void *alignf_data)
 {
 	int i, ret = -ENOMEM;
 
diff -puN drivers/pci/pci.h~kconfigurable-resources-driver-pci-changes drivers/pci/pci.h
--- devel/drivers/pci/pci.h~kconfigurable-resources-driver-pci-changes	2006-05-11 15:18:13.000000000 -0700
+++ devel-akpm/drivers/pci/pci.h	2006-05-11 15:18:13.000000000 -0700
@@ -6,10 +6,10 @@ extern int pci_create_sysfs_dev_files(st
 extern void pci_remove_sysfs_dev_files(struct pci_dev *pdev);
 extern void pci_cleanup_rom(struct pci_dev *dev);
 extern int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res,
-				  u64 size, u64 align,
-				  u64 min, unsigned int type_mask,
+				  resource_size_t size, resource_size_t align,
+				  resource_size_t min, unsigned int type_mask,
 				  void (*alignf)(void *, struct resource *,
-					  	 u64, u64),
+					      resource_size_t, resource_size_t),
 				  void *alignf_data);
 /* Firmware callbacks */
 extern int (*platform_pci_choose_state)(struct pci_dev *dev, pm_message_t state);
diff -puN drivers/pci/pci-sysfs.c~kconfigurable-resources-driver-pci-changes drivers/pci/pci-sysfs.c
--- devel/drivers/pci/pci-sysfs.c~kconfigurable-resources-driver-pci-changes	2006-05-11 15:18:13.000000000 -0700
+++ devel-akpm/drivers/pci/pci-sysfs.c	2006-05-11 15:18:13.000000000 -0700
@@ -65,7 +65,7 @@ resource_show(struct device * dev, struc
 	char * str = buf;
 	int i;
 	int max = 7;
-	u64 start, end;
+	resource_size_t start, end;
 
 	if (pci_dev->subordinate)
 		max = DEVICE_COUNT_RESOURCE;
@@ -341,7 +341,7 @@ pci_mmap_resource(struct kobject *kobj, 
 						       struct device, kobj));
 	struct resource *res = (struct resource *)attr->private;
 	enum pci_mmap_state mmap_type;
-	u64 start, end;
+	resource_size_t start, end;
 	int i;
 
 	for (i = 0; i < PCI_ROM_RESOURCE; i++)
diff -puN drivers/pci/proc.c~kconfigurable-resources-driver-pci-changes drivers/pci/proc.c
--- devel/drivers/pci/proc.c~kconfigurable-resources-driver-pci-changes	2006-05-11 15:18:13.000000000 -0700
+++ devel-akpm/drivers/pci/proc.c	2006-05-11 15:18:13.000000000 -0700
@@ -350,14 +350,14 @@ static int show_device(struct seq_file *
 			dev->irq);
 	/* Here should be 7 and not PCI_NUM_RESOURCES as we need to preserve compatibility */
 	for (i=0; i<7; i++) {
-		u64 start, end;
+		resource_size_t start, end;
 		pci_resource_to_user(dev, i, &dev->resource[i], &start, &end);
 		seq_printf(m, "\t%16llx",
 			(unsigned long long)(start |
 			(dev->resource[i].flags & PCI_REGION_FLAG_MASK)));
 	}
 	for (i=0; i<7; i++) {
-		u64 start, end;
+		resource_size_t start, end;
 		pci_resource_to_user(dev, i, &dev->resource[i], &start, &end);
 		seq_printf(m, "\t%16llx",
 			dev->resource[i].start < dev->resource[i].end ?
diff -puN drivers/pci/setup-res.c~kconfigurable-resources-driver-pci-changes drivers/pci/setup-res.c
--- devel/drivers/pci/setup-res.c~kconfigurable-resources-driver-pci-changes	2006-05-11 15:18:13.000000000 -0700
+++ devel-akpm/drivers/pci/setup-res.c	2006-05-11 15:18:13.000000000 -0700
@@ -121,7 +121,7 @@ int pci_assign_resource(struct pci_dev *
 {
 	struct pci_bus *bus = dev->bus;
 	struct resource *res = dev->resource + resno;
-	u64 size, min, align;
+	resource_size_t size, min, align;
 	int ret;
 
 	size = res->end - res->start + 1;
@@ -209,7 +209,7 @@ pdev_sort_resources(struct pci_dev *dev,
 	for (i = 0; i < PCI_NUM_RESOURCES; i++) {
 		struct resource *r;
 		struct resource_list *list, *tmp;
-		u64 r_align;
+		resource_size_t r_align;
 
 		r = &dev->resource[i];
 		r_align = r->end - r->start;
@@ -225,7 +225,7 @@ pdev_sort_resources(struct pci_dev *dev,
 		}
 		r_align = (i < PCI_BRIDGE_RESOURCES) ? r_align + 1 : r->start;
 		for (list = head; ; list = list->next) {
-			u64 align = 0;
+			resource_size_t align = 0;
 			struct resource_list *ln = list->next;
 			int idx;
 
diff -puN include/linux/pci.h~kconfigurable-resources-driver-pci-changes include/linux/pci.h
--- devel/include/linux/pci.h~kconfigurable-resources-driver-pci-changes	2006-05-11 15:18:13.000000000 -0700
+++ devel-akpm/include/linux/pci.h	2006-05-11 15:18:13.000000000 -0700
@@ -402,8 +402,8 @@ int pcibios_enable_device(struct pci_dev
 char *pcibios_setup (char *str);
 
 /* Used only when drivers/pci/setup.c is used */
-void pcibios_align_resource(void *, struct resource *,
-			    u64, u64);
+void pcibios_align_resource(void *, struct resource *, resource_size_t,
+				resource_size_t);
 void pcibios_update_irq(struct pci_dev *, int irq);
 
 /* Generic PCI functions used internally */
@@ -530,10 +530,10 @@ void pci_release_region(struct pci_dev *
 
 /* drivers/pci/bus.c */
 int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res,
-			   u64 size, u64 align,
-			   u64 min, unsigned int type_mask,
+			   resource_size_t size, resource_size_t align,
+			   resource_size_t min, unsigned int type_mask,
 			   void (*alignf)(void *, struct resource *,
-					  u64, u64),
+					  resource_size_t, resource_size_t),
 			   void *alignf_data);
 void pci_enable_bridges(struct pci_bus *bus);
 
@@ -727,7 +727,8 @@ static inline char *pci_name(struct pci_
  */
 #ifndef HAVE_ARCH_PCI_RESOURCE_TO_USER
 static inline void pci_resource_to_user(const struct pci_dev *dev, int bar,
-                const struct resource *rsrc, u64 *start, u64 *end)
+                const struct resource *rsrc, resource_size_t *start,
+		resource_size_t *end)
 {
 	*start = rsrc->start;
 	*end = rsrc->end;
_

Patches currently in -mm which might be from vgoyal@xxxxxxxxxx are

i386-export-memory-more-than-4g-through-proc-iomem.patch
kconfigurable-resources-core-changes-i386-fix.patch
kconfigurable-resources-core-changes-fix.patch
typesh-sector_t-and-blkcnt_t-arent-for-userspace.patch
kconfigurable-resources-mtd-fixes.patch
mpt-fusion-driver-initialization-failure-fix.patch
register-hot-added-memory-to-iomem-resource.patch
updated-kdump-documentation.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux