All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] select EFI partition support by default
@ 2003-10-11 14:54 John Levon
  2003-10-11 16:11 ` Matt Domsch
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: John Levon @ 2003-10-11 14:54 UTC (permalink / raw)
  To: linux-ia64


This makes the EFI choice look like the others, and makes sure it's
selected by default if the user didn't choose Advanced Partition
Selection.

I fell foul of this, being an IA-64 newbie.

OK ?

regards
john


Index: linux-cvs/fs/partitions/Kconfig
=================================RCS file: /home/cvs/linux-2.5/fs/partitions/Kconfig,v
retrieving revision 1.5
diff -u -a -p -r1.5 Kconfig
--- linux-cvs/fs/partitions/Kconfig	27 Sep 2003 07:07:08 -0000	1.5
+++ linux-cvs/fs/partitions/Kconfig	11 Oct 2003 14:51:42 -0000
@@ -225,8 +225,8 @@ config SUN_PARTITION
 	  you don't know what all this is about, say N.
 
 config EFI_PARTITION
-	bool "EFI GUID Partition support"
-	depends on PARTITION_ADVANCED
+	bool "EFI GUID Partition support" if PARTITION_ADVANCED
+	default y if !PARTITION_ADVANCED && IA64
 	select CRC32
 	help
 	  Say Y here if you would like to use hard disks under Linux which

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

* Re: [PATCH] select EFI partition support by default
  2003-10-11 14:54 [PATCH] select EFI partition support by default John Levon
@ 2003-10-11 16:11 ` Matt Domsch
  2003-10-13  9:00 ` Christoph Hellwig
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Matt Domsch @ 2003-10-11 16:11 UTC (permalink / raw)
  To: linux-ia64

> +       bool "EFI GUID Partition support" if PARTITION_ADVANCED
> +       default y if !PARTITION_ADVANCED && IA64

Can we make CONFIG_LBD force on CONFIG_EFI_PARTITION too then?
-Matt

-- 
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com


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

* Re: [PATCH] select EFI partition support by default
  2003-10-11 14:54 [PATCH] select EFI partition support by default John Levon
  2003-10-11 16:11 ` Matt Domsch
@ 2003-10-13  9:00 ` Christoph Hellwig
  2003-10-13 15:21 ` John Levon
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2003-10-13  9:00 UTC (permalink / raw)
  To: linux-ia64

On Sat, Oct 11, 2003 at 11:11:34AM -0500, Matt Domsch wrote:
> > +       bool "EFI GUID Partition support" if PARTITION_ADVANCED
> > +       default y if !PARTITION_ADVANCED && IA64
> 
> Can we make CONFIG_LBD force on CONFIG_EFI_PARTITION too then?

I know the LBD backport is used with SGI disklabels in production
enviroments.  In fact that's the only production use I know of at all...


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

* Re: [PATCH] select EFI partition support by default
  2003-10-11 14:54 [PATCH] select EFI partition support by default John Levon
  2003-10-11 16:11 ` Matt Domsch
  2003-10-13  9:00 ` Christoph Hellwig
@ 2003-10-13 15:21 ` John Levon
  2003-10-13 15:37 ` Matt_Domsch
  2003-10-13 20:55 ` Peter Chubb
  4 siblings, 0 replies; 6+ messages in thread
From: John Levon @ 2003-10-13 15:21 UTC (permalink / raw)
  To: linux-ia64

On Mon, Oct 13, 2003 at 10:00:47AM +0100, Christoph Hellwig wrote:

> > > +       bool "EFI GUID Partition support" if PARTITION_ADVANCED
> > > +       default y if !PARTITION_ADVANCED && IA64
> > 
> > Can we make CONFIG_LBD force on CONFIG_EFI_PARTITION too then?
> 
> I know the LBD backport is used with SGI disklabels in production
> enviroments.  In fact that's the only production use I know of at all...

Besides, unless I'm missing something, current 2.6 doesn't prompt for
LBD for IA64 at all ?

So, anybody want the patch :)

regards
john

-- 
Khendon's Law:
If the same point is made twice by the same person, the thread is over.

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

* Re: [PATCH] select EFI partition support by default
  2003-10-11 14:54 [PATCH] select EFI partition support by default John Levon
                   ` (2 preceding siblings ...)
  2003-10-13 15:21 ` John Levon
@ 2003-10-13 15:37 ` Matt_Domsch
  2003-10-13 20:55 ` Peter Chubb
  4 siblings, 0 replies; 6+ messages in thread
From: Matt_Domsch @ 2003-10-13 15:37 UTC (permalink / raw)
  To: linux-ia64

On Mon, 2003-10-13 at 10:21, John Levon wrote:
> On Mon, Oct 13, 2003 at 10:00:47AM +0100, Christoph Hellwig wrote:
> 
> > > > +       bool "EFI GUID Partition support" if PARTITION_ADVANCED
> > > > +       default y if !PARTITION_ADVANCED && IA64
> > > 
> > > Can we make CONFIG_LBD force on CONFIG_EFI_PARTITION too then?
> > 
> > I know the LBD backport is used with SGI disklabels in production
> > enviroments.  In fact that's the only production use I know of at
> all...
> 
> Besides, unless I'm missing something, current 2.6 doesn't prompt for
> LBD for IA64 at all ?
> 
> So, anybody want the patch :)

Actually, CONFIG_LBD is not necessary on IA-64.

include/linux/types.h:

 * The type used for indexing onto a disc or disc partition.
 * If required, asm/types.h can override it and define
 * HAVE_SECTOR_T
 */
#ifndef HAVE_SECTOR_T
typedef unsigned long sector_t;
#endif

Since HAVE_SECTOR_T isn't ever defined by IA-64, this does the right
thing.


-- 
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com


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

* Re: [PATCH] select EFI partition support by default
  2003-10-11 14:54 [PATCH] select EFI partition support by default John Levon
                   ` (3 preceding siblings ...)
  2003-10-13 15:37 ` Matt_Domsch
@ 2003-10-13 20:55 ` Peter Chubb
  4 siblings, 0 replies; 6+ messages in thread
From: Peter Chubb @ 2003-10-13 20:55 UTC (permalink / raw)
  To: linux-ia64

>>>>> "John" = John Levon <levon@movementarian.org> writes:

John> On Mon, Oct 13, 2003 at 10:00:47AM +0100, Christoph Hellwig
John> wrote:
>> > > +       bool "EFI GUID Partition support" if PARTITION_ADVANCED
>> > > +       default y if !PARTITION_ADVANCED && IA64
>> > 
>> > Can we make CONFIG_LBD force on CONFIG_EFI_PARTITION too then?
>> 
>> I know the LBD backport is used with SGI disklabels in production
>> enviroments.  In fact that's the only production use I know of at
>> all...

John> Besides, unless I'm missing something, current 2.6 doesn't
John> prompt for LBD for IA64 at all ?

John> So, anybody want the patch :)

There's no need to prompt for CONFIG_LBD in 2.6, as all 64-bit
architectures use  64-bit variables for sector_t.

It's only on 32-bit architectures that it's necessary.

Under 2.4, however, CONFIG_LBD is (or should be) forced on for IA64.

Peterc

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

end of thread, other threads:[~2003-10-13 20:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-11 14:54 [PATCH] select EFI partition support by default John Levon
2003-10-11 16:11 ` Matt Domsch
2003-10-13  9:00 ` Christoph Hellwig
2003-10-13 15:21 ` John Levon
2003-10-13 15:37 ` Matt_Domsch
2003-10-13 20:55 ` Peter Chubb

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.