[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[2414] 2009-07-15 Pavel Roskin <address@hidden>
From: |
Pavel Roskin |
Subject: |
[2414] 2009-07-15 Pavel Roskin <address@hidden> |
Date: |
Wed, 15 Jul 2009 19:45:45 +0000 |
Revision: 2414
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2414
Author: proski
Date: 2009-07-15 19:45:44 +0000 (Wed, 15 Jul 2009)
Log Message:
-----------
2009-07-15 Pavel Roskin <address@hidden>
* include/grub/disk.h (struct grub_disk_dev): Use enum for id.
* kern/disk.c (struct grub_disk_cache): Likewise.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/include/grub/disk.h
trunk/grub2/kern/disk.c
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-07-15 19:30:34 UTC (rev 2413)
+++ trunk/grub2/ChangeLog 2009-07-15 19:45:44 UTC (rev 2414)
@@ -1,5 +1,8 @@
2009-07-15 Pavel Roskin <address@hidden>
+ * include/grub/disk.h (struct grub_disk_dev): Use enum for id.
+ * kern/disk.c (struct grub_disk_cache): Likewise.
+
* commands/probe.c (options): Typo fix.
* include/grub/i386/pc/boot.h (GRUB_BOOT_MACHINE_BPB_END):
Modified: trunk/grub2/include/grub/disk.h
===================================================================
--- trunk/grub2/include/grub/disk.h 2009-07-15 19:30:34 UTC (rev 2413)
+++ trunk/grub2/include/grub/disk.h 2009-07-15 19:45:44 UTC (rev 2414)
@@ -56,7 +56,7 @@
const char *name;
/* The device id used by the cache manager. */
- unsigned long id;
+ enum grub_disk_dev_id id;
/* Call HOOK with each device name, until HOOK returns non-zero. */
int (*iterate) (int (*hook) (const char *name));
Modified: trunk/grub2/kern/disk.c
===================================================================
--- trunk/grub2/kern/disk.c 2009-07-15 19:30:34 UTC (rev 2413)
+++ trunk/grub2/kern/disk.c 2009-07-15 19:45:44 UTC (rev 2414)
@@ -34,7 +34,7 @@
/* Disk cache. */
struct grub_disk_cache
{
- unsigned long dev_id;
+ enum grub_disk_dev_id dev_id;
unsigned long disk_id;
grub_disk_addr_t sector;
char *data;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [2414] 2009-07-15 Pavel Roskin <address@hidden>,
Pavel Roskin <=