]> git.pld-linux.org Git - packages/parted.git/blob - parted-iseries.patch
- updated to 1.7.1 (note: new soname)
[packages/parted.git] / parted-iseries.patch
1 --- parted-1.7.0/include/parted/device.h.P150   2006-05-19 10:32:18.000000000 -0400
2 +++ parted-1.7.0/include/parted/device.h        2006-05-19 11:01:23.000000000 -0400
3 @@ -44,6 +44,7 @@
4          PED_DEVICE_I2O          = 7,
5          PED_DEVICE_UBD          = 8,
6          PED_DEVICE_DASD         = 9,
7 +        PED_DEVICE_VIODASD      = 10,
8          PED_DEVICE_SX8          = 11
9  } PedDeviceType;
10  
11 --- parted-1.7.0/libparted/arch/linux.c.P150    2006-05-19 10:54:51.000000000 -0400
12 +++ parted-1.7.0/libparted/arch/linux.c 2006-05-19 11:02:45.000000000 -0400
13 @@ -233,6 +233,7 @@
14  #define I2O_MAJOR8              87
15  #define UBD_MAJOR               98
16  #define DASD_MAJOR              94
17 +#define VIODASD_MAJOR           112
18  #define SX8_MAJOR1              160
19  #define SX8_MAJOR2              161
20  
21 @@ -331,6 +332,8 @@
22                  dev->type = PED_DEVICE_ATARAID;
23          } else if (dev_major == DASD_MAJOR && (dev_minor % 0x4 == 0)) {
24                  dev->type = PED_DEVICE_DASD;
25 +        } else if (dev_major == VIODASD_MAJOR && (dev_minor % 0x8 == 0)) {
26 +                dev->type = PED_DEVICE_VIODASD;
27          } else if (_is_sx8_major(dev_major) && (dev_minor % 0x20 == 0)) {
28                  dev->type = PED_DEVICE_SX8;
29          } else if (_is_i2o_major (dev_major) && (dev_minor % 0x10 == 0)) {
30 @@ -973,6 +976,11 @@
31                          goto error_free_arch_specific;
32                  break;
33  
34 +        case PED_DEVICE_VIODASD:
35 +                if (!init_generic (dev, _("IBM iSeries Virtual DASD")))
36 +                        goto error_free_arch_specific;
37 +                break;
38 +
39          case PED_DEVICE_CPQARRAY:
40                  if (!init_generic (dev, _("Compaq Smart Array")))
41                          goto error_free_arch_specific;
This page took 0.036976 seconds and 3 git commands to generate.