Re: [PATCH] Support up to 256 SCSI disks on Linux

2009-04-13 Thread Robert Millan
On Sat, Apr 11, 2009 at 01:05:19AM +0200, phcoder wrote: > Robert Millan wrote: >> On Wed, Mar 04, 2009 at 10:16:29PM +0100, Robert Millan wrote: else if (major == SCSI_DISK0_MAJOR) -sprintf (name, "/dev/sd%c", 'a' + minor / 16); +grub_util_getdiskname_scsi (name, 0, minor

Re: [PATCH] Support up to 256 SCSI disks on Linux

2009-04-10 Thread phcoder
Robert Millan wrote: On Wed, Mar 04, 2009 at 10:16:29PM +0100, Robert Millan wrote: else if (major == SCSI_DISK0_MAJOR) -sprintf (name, "/dev/sd%c", 'a' + minor / 16); +grub_util_getdiskname_scsi (name, 0, minor / 16); + else if (major == SCSI_DISK1_MAJOR) +grub_util_getdiskname_

Re: [PATCH] Support up to 256 SCSI disks on Linux

2009-03-04 Thread Robert Millan
On Wed, Mar 04, 2009 at 10:16:29PM +0100, Robert Millan wrote: > >else if (major == SCSI_DISK0_MAJOR) > > -sprintf (name, "/dev/sd%c", 'a' + minor / 16); > > +grub_util_getdiskname_scsi (name, 0, minor / 16); > > + else if (major == SCSI_DISK1_MAJOR) > > +grub_util_getdiskname_scsi

Re: [PATCH] Support up to 256 SCSI disks on Linux

2009-03-04 Thread Robert Millan
On Wed, Mar 04, 2009 at 04:35:09PM +, Colin Watson wrote: > Linux's Documentation/devices.txt file says that up to 256 SCSI disks > are supported. GRUB currently only supports the first 16. Wikimedia > filed an Ubuntu bug report about this > (https://bugs.launchpad.net/bugs/335174), so here's a

[PATCH] Support up to 256 SCSI disks on Linux

2009-03-04 Thread Colin Watson
Linux's Documentation/devices.txt file says that up to 256 SCSI disks are supported. GRUB currently only supports the first 16. Wikimedia filed an Ubuntu bug report about this (https://bugs.launchpad.net/bugs/335174), so here's a patch to extend this. (I really haven't been able to test this much a