Alan Cox | 9 Oct 2002 13:52
Picon

(unknown)

subscribe

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

Linux Kernel Mailing List | 9 Oct 2002 05:04

[PATCH] Updated scsi patch

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.714   -> 1.715  
#	drivers/scsi/aic7xxx_old.c	1.25    -> 1.26   
#	drivers/scsi/scsi_syms.c	1.10    -> 1.11   
#	drivers/scsi/scsi_scan.c	1.23    -> 1.24   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/10/08	dledford <at> redhat.com	1.715
# [PATCH] Updated scsi patch
# 
# scsi_syms.c:
#   Missing export
# drivers/scsi/aic7xxx_old.c:
#    More updates for the slave_attach stuff
# drivers/scsi/scsi_scan.c:
#    Make scsi_scan.c call hostt->slave_attach after we have set the
#    sdev->tagged_supported variable
# --------------------------------------------
#
diff -Nru a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c
--- a/drivers/scsi/aic7xxx_old.c	Wed Oct  9 05:59:49 2002
+++ b/drivers/scsi/aic7xxx_old.c	Wed Oct  9 05:59:49 2002
 <at>  <at>  -6981,9 +6981,9  <at>  <at> 
     if(device->tagged_supported) {
       if (aic7xxx_verbose & VERBOSE_NEGOTIATION2)
       {
(Continue reading)

Linux Kernel Mailing List | 9 Oct 2002 05:04

[PATCH] Updated scsi patch

[PATCH] Updated scsi patch

scsi_syms.c:
  Missing export
drivers/scsi/aic7xxx_old.c:
   More updates for the slave_attach stuff
drivers/scsi/scsi_scan.c:
   Make scsi_scan.c call hostt->slave_attach after we have set the
   sdev->tagged_supported variable

Patch Follows:

diff -Nru a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c
--- a/drivers/scsi/aic7xxx_old.c	Wed Oct  9 06:17:59 2002
+++ b/drivers/scsi/aic7xxx_old.c	Wed Oct  9 06:17:59 2002
 <at>  <at>  -6981,9 +6981,9  <at>  <at> 
     if(device->tagged_supported) {
       if (aic7xxx_verbose & VERBOSE_NEGOTIATION2)
       {
-        printk(INFO_LEAD "Enabled tagged queuing, queue depth %d.\n",
+        printk(INFO_LEAD "Enabled tagged queuing on secondary lun, queue depth +%d.\n",
                p->host_no, device->channel, device->id,
-               device->lun, device->queue_depth);
+               device->lun, p->dev_lun_queue_depth[tindex]);
       }
       p->dev_max_queue_depth[tindex] += p->dev_lun_queue_depth[tindex];
       p->dev_temp_queue_depth[tindex] += p->dev_lun_queue_depth[tindex];
 <at>  <at>  -7083,7 +7083,7  <at>  <at> 
         {
               printk(INFO_LEAD "Enabled tagged queuing, queue depth %d.\n",
(Continue reading)

Linux Kernel Mailing List | 9 Oct 2002 05:04

[PATCH] Updated scsi patch

Some people are never satisfied. Now you get to see who made the
cset too....

ChangeSet 1.715, 2002/10/08 20:04:08-07:00, dledford <at> redhat.com

	[PATCH] Updated scsi patch
	
	scsi_syms.c:
	  Missing export
	drivers/scsi/aic7xxx_old.c:
	   More updates for the slave_attach stuff
	drivers/scsi/scsi_scan.c:
	   Make scsi_scan.c call hostt->slave_attach after we have set the
	   sdev->tagged_supported variable

Patch Follows:

diff -Nru a/drivers/scsi/aic7xxx_old.c b/drivers/scsi/aic7xxx_old.c
--- a/drivers/scsi/aic7xxx_old.c	Wed Oct  9 06:31:03 2002
+++ b/drivers/scsi/aic7xxx_old.c	Wed Oct  9 06:31:03 2002
 <at>  <at>  -6981,9 +6981,9  <at>  <at> 
     if(device->tagged_supported) {
       if (aic7xxx_verbose & VERBOSE_NEGOTIATION2)
       {
-        printk(INFO_LEAD "Enabled tagged queuing, queue depth %d.\n",
+        printk(INFO_LEAD "Enabled tagged queuing on secondary lun, queue depth +%d.\n",
                p->host_no, device->channel, device->id,
-               device->lun, device->queue_depth);
+               device->lun, p->dev_lun_queue_depth[tindex]);
       }
(Continue reading)

Linux Kernel Mailing List | 9 Oct 2002 17:33

[PATCH] IDE: only register devices that are present

ChangeSet 1.717, 2002/10/09 08:33:20-07:00, mochel <at> osdl.org

	[PATCH] IDE: only register devices that are present

Patch Follows:

diff -Nru a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
--- a/drivers/ide/ide-probe.c	Wed Oct  9 09:08:49 2002
+++ b/drivers/ide/ide-probe.c	Wed Oct  9 09:08:49 2002
 <at>  <at>  -1005,8 +1005,8  <at>  <at> 
 			 "%s","IDE Drive");
 		disk->disk_dev.parent = &hwif->gendev;
 		disk->disk_dev.bus = &ide_bus_type;
-		device_register(&disk->disk_dev);
-
+		if (hwif->drives[unit].present)
+			device_register(&disk->disk_dev);
 		hwif->drives[unit].disk = disk;
 	}

Linux Kernel Mailing List | 9 Oct 2002 17:37

[PATCH] 64-bit sector_t - printk changes and sector_t cleanup

ChangeSet 1.719, 2002/10/09 08:37:24-07:00, akpm <at> digeo.com

	[PATCH] 64-bit sector_t - printk changes and sector_t cleanup
	
	From Peter Chubb
	
	printk changes: A sector_t can be either 64 or 32 bits, so cast it to a
	printable type that is at least as large as 64-bits on all platforms
	(i.e., cast to unsigned long long and use a %llu format)
	
	Transition to 64-bit sector_t: fix isofs_get_blocks by converting the
	(possibly 64-bit) arg to a long.
	
	SCSI 64-bit sector_t cleanup: capacity now stored as sector_t; make
	sure that the READ_CAPACITY command doesn't sign-extend its returned
	value; avoid 64-bit division when printing size in MB.
	
	Still to do:
	 - 16-byte SCSI commands
	 - Individual scsi drivers.

Patch Follows:

diff -Nru a/drivers/block/genhd.c b/drivers/block/genhd.c
--- a/drivers/block/genhd.c	Wed Oct  9 09:08:53 2002
+++ b/drivers/block/genhd.c	Wed Oct  9 09:08:53 2002
 <at>  <at>  -177,16 +177,16  <at>  <at> 
 		return 0;

 	/* show the full disk and all non-0 size partitions of it */
(Continue reading)

Linux Kernel Mailing List | 9 Oct 2002 17:37

[PATCH] 64-bit sector_t - md fixes

ChangeSet 1.722, 2002/10/09 08:37:43-07:00, akpm <at> digeo.com

	[PATCH] 64-bit sector_t - md fixes
	
	From Peter Chubb
	
	(Yes I forgot something...  Without this patch, trying to use RAID
	without CONFIG_LBD would fail.)
	
	Fix md operation without CONFIG_LBD --- don't try to include __udivdi3
	etc.

Patch Follows:

diff -Nru a/drivers/md/md.c b/drivers/md/md.c
--- a/drivers/md/md.c	Wed Oct  9 09:09:01 2002
+++ b/drivers/md/md.c	Wed Oct  9 09:09:01 2002
 <at>  <at>  -3479,8 +3479,12  <at>  <at> 
 }
 #endif

+#ifdef CONFIG_LBD
 extern u64 __udivdi3(u64, u64);
 extern u64 __umoddi3(u64, u64);
+EXPORT_SYMBOL(__udivdi3);
+EXPORT_SYMBOL(__umoddi3);
+#endif
 EXPORT_SYMBOL(md_size);
 EXPORT_SYMBOL(register_md_personality);
 EXPORT_SYMBOL(unregister_md_personality);
(Continue reading)

Linux Kernel Mailing List | 9 Oct 2002 17:37

[PATCH] 64-bit sector_t - remove udivdi3, use sector_div()

ChangeSet 1.723, 2002/10/09 08:37:50-07:00, akpm <at> digeo.com

	[PATCH] 64-bit sector_t - remove udivdi3, use sector_div()
	
	From Peter Chubb
	
	Get rid of need for GCC _udivdi3 and _umoddi3 helper functions
	 - use sector_div more aggressively.

Patch Follows:

diff -Nru a/drivers/md/Makefile b/drivers/md/Makefile
--- a/drivers/md/Makefile	Wed Oct  9 09:09:04 2002
+++ b/drivers/md/Makefile	Wed Oct  9 09:09:04 2002
 <at>  <at>  -20,15 +20,3  <at>  <at> 

 include $(TOPDIR)/Rules.make

-# I can't get around the need for 64-bit division in raid[0-5]
-ifdef CONFIG_LBD
-
-LIBGCC:= $(shell ${CC} ${CFLAGS} -print-libgcc-file-name)
-
-md.o: md.c _udivdi3.o _umoddi3.o
-	$(CC) $(c_flags) -c -o md-tmp.o md.c
-	$(LD) -r  -o md.o md-tmp.o _udivdi3.o _umoddi3.o
-
-_udivdi3.o _umoddi3.o: $(LIBGCC)
-	$(AR) x $(LIBGCC) $ <at> 
-endif
(Continue reading)

Linux Kernel Mailing List | 9 Oct 2002 02:23

driver model: check return of get_device() when creating a driverfs file.

ChangeSet 1.597.3.2, 2002/10/08 17:23:56-07:00, mochel <at> osdl.org

	driver model: check return of get_device() when creating a driverfs file.

Patch Follows:

diff -Nru a/drivers/base/fs/device.c b/drivers/base/fs/device.c
--- a/drivers/base/fs/device.c	Wed Oct  9 09:08:40 2002
+++ b/drivers/base/fs/device.c	Wed Oct  9 09:08:40 2002
 <at>  <at>  -90,8 +90,7  <at>  <at> 
 {
 	int error = -EINVAL;

-	if (dev) {
-		get_device(dev);
+	if (get_device(dev)) {
 		error = driverfs_create_file(&entry->attr,&dev->dir);
 		put_device(dev);
 	}
Linux Kernel Mailing List | 9 Oct 2002 17:37

[PATCH] Fix xxx_get_biosgeometry --- avoid useless 64-bit division.

ChangeSet 1.724, 2002/10/09 08:37:57-07:00, akpm <at> digeo.com

	[PATCH] Fix xxx_get_biosgeometry --- avoid useless 64-bit division.
	
	From Peter Chubb
	
	The bios geometry is almost useless, except for fdisk to try to write
	an MSDOS partition table that is vaguely compatible with one written by
	other operating systems.
	
	If the size of disc will overflow a ten-bit cylinder number, then all
	bets are off anyway.  So fake it by casting the true disc capacity to a
	smaller type (than u64), so that we avoid 64-bit division on 32-bit
	platforms.  If the disc is small enough that the number of cylinders is
	correct, then this has no effect; otherwise, the number-of-cylinders we
	report is bogus, but you can't use an MSDOS-format partition table on
	such a drive anyway --- use the EFI GPT or the LDM partitioning, which
	use 64-bit offsets internally.

Patch Follows:

diff -Nru a/drivers/ide/legacy/pdc4030.c b/drivers/ide/legacy/pdc4030.c
--- a/drivers/ide/legacy/pdc4030.c	Wed Oct  9 09:09:08 2002
+++ b/drivers/ide/legacy/pdc4030.c	Wed Oct  9 09:09:08 2002
 <at>  <at>  -442,8 +442,8  <at>  <at> 

 #ifdef DEBUG_READ
 	printk(KERN_DEBUG "%s:  promise_read: sectors(%ld-%ld), "
-	       "buf=0x%08lx, rem=%ld\n", drive->name, rq->sector,
-	       rq->sector+nsect-1,
(Continue reading)


Gmane