2009-05-04 Pavel Roskin <proski@gnu.org>
* disk/ata.c: Spelling fixes. * disk/raid.c: Likewise. * disk/usbms.c: Likewise. * disk/dmraid_nvidia.c: Likewise. * kern/ieee1275/openfw.c: Likewise. * kern/ieee1275/init.c: Likewise. * kern/ieee1275/cmain.c: Likewise. * boot/i386/pc/cdboot.S: Likewise. * video/readers/png.c: Likewise. * video/i386/pc/vbe.c: Likewise. * fs/udf.c: Likewise. * fs/hfs.c: Likewise. * fs/reiserfs.c: Likewise. * efiemu/runtime/efiemu.c: Likewise. * efiemu/main.c: Likewise. * efiemu/mm.c: Likewise. * include/grub/elf.h: Likewise. * include/grub/xnu.h: Likewise. * include/grub/usbdesc.h: Likewise. * include/grub/usb.h: Likewise. * include/grub/script_sh.h: Likewise. * include/grub/lib/LzmaEnc.h: Likewise. * include/grub/efiemu/efiemu.h: Likewise. * include/grub/command.h: Likewise. * normal/menu.c: Likewise. * normal/main.c: Likewise. * normal/datetime.c: Likewise. * bus/usb/uhci.c: Likewise. * mmap/i386/uppermem.c: Likewise. * mmap/mmap.c: Likewise. * commands/acpi.c: Likewise. * commands/test.c: Likewise. * partmap/apple.c: Likewise. * font/font.c: Likewise. * loader/sparc64/ieee1275/linux.c: Likewise. * loader/macho.c: Likewise. * loader/i386/bsd_trampoline.S: Likewise. * loader/i386/bsd.c: Likewise. * loader/xnu.c: Likewise. * term/i386/pc/vesafb.c: Likewise. * term/usb_keyboard.c: Likewise. * util/resolve.c: Likewise. * util/getroot.c: Likewise.
This commit is contained in:
parent
0cfc0083de
commit
4241d2b13a
44 changed files with 130 additions and 84 deletions
|
@ -439,7 +439,7 @@ grub_ata_pciinit (int bus, int device, int func,
|
|||
grub_errno = GRUB_ERR_NONE;
|
||||
grub_ata_device_initialize (controller * 2 + i, 0, rega, regb);
|
||||
|
||||
/* Most errors rised by grub_ata_device_initialize() are harmless.
|
||||
/* Most errors raised by grub_ata_device_initialize() are harmless.
|
||||
They just indicate this particular drive is not responding, most
|
||||
likely because it doesn't exist. We might want to ignore specific
|
||||
error types here, instead of printing them. */
|
||||
|
@ -586,7 +586,7 @@ grub_ata_readwrite (grub_disk_t disk, grub_disk_addr_t sector,
|
|||
|
||||
grub_dprintf("ata", "rw=%d, sector=%llu, batch=%u\n", rw, sector, batch);
|
||||
|
||||
/* Send read/write commmand. */
|
||||
/* Send read/write command. */
|
||||
if (grub_ata_setaddress (dev, addressing, sector, batch))
|
||||
return grub_errno;
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#define NV_LEVEL_1_0 0x8180
|
||||
|
||||
#define NV_ARRAY_FLAG_BOOT 1 /* BIOS use only. */
|
||||
#define NV_ARRAY_FLAG_ERROR 2 /* Degraded or offling. */
|
||||
#define NV_ARRAY_FLAG_ERROR 2 /* Degraded or offline. */
|
||||
#define NV_ARRAY_FLAG_PARITY_VALID 4 /* RAID-3/5 parity valid. */
|
||||
|
||||
struct grub_nv_array
|
||||
|
|
|
@ -573,7 +573,7 @@ insert_array (grub_disk_t disk, struct grub_raid_array *new_array,
|
|||
array->next = array_list;
|
||||
array_list = array;
|
||||
|
||||
/* RAID 1 doestn't use a chunksize but code assumes one so set
|
||||
/* RAID 1 doesn't use a chunksize but code assumes one so set
|
||||
one. */
|
||||
if (array->level == 1)
|
||||
array->chunk_size = 64;
|
||||
|
|
10
disk/usbms.c
10
disk/usbms.c
|
@ -179,7 +179,7 @@ grub_usbms_finddevs (void)
|
|||
/* XXX: Activate the first configuration. */
|
||||
grub_usb_set_configuration (usbdev, 1);
|
||||
|
||||
/* Bolk-Only Mass Storage Reset, after the reset commands
|
||||
/* Bulk-Only Mass Storage Reset, after the reset commands
|
||||
will be accepted. */
|
||||
grub_usbms_reset (usbdev, i);
|
||||
|
||||
|
@ -214,8 +214,8 @@ grub_usbms_iterate (int (*hook) (const char *name, int luns))
|
|||
}
|
||||
|
||||
static grub_err_t
|
||||
grub_usbms_tranfer (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
|
||||
grub_size_t size, char *buf, int read_write)
|
||||
grub_usbms_transfer (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
|
||||
grub_size_t size, char *buf, int read_write)
|
||||
{
|
||||
struct grub_usbms_cbw cbw;
|
||||
grub_usbms_dev_t dev = (grub_usbms_dev_t) scsi->data;
|
||||
|
@ -322,14 +322,14 @@ static grub_err_t
|
|||
grub_usbms_read (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
|
||||
grub_size_t size, char *buf)
|
||||
{
|
||||
return grub_usbms_tranfer (scsi, cmdsize, cmd, size, buf, 0);
|
||||
return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 0);
|
||||
}
|
||||
|
||||
static grub_err_t
|
||||
grub_usbms_write (struct grub_scsi *scsi, grub_size_t cmdsize, char *cmd,
|
||||
grub_size_t size, char *buf)
|
||||
{
|
||||
return grub_usbms_tranfer (scsi, cmdsize, cmd, size, buf, 1);
|
||||
return grub_usbms_transfer (scsi, cmdsize, cmd, size, buf, 1);
|
||||
}
|
||||
|
||||
static grub_err_t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue