diff options
Diffstat (limited to 'programmer.h')
-rw-r--r-- | programmer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/programmer.h b/programmer.h index f511c718..5109ed98 100644 --- a/programmer.h +++ b/programmer.h @@ -148,7 +148,7 @@ struct pci_dev; struct penable { uint16_t vendor_id; uint16_t device_id; - int status; /* OK=0 and NT=1 are defines only. Beware! */ + const enum test_state status; const char *vendor_name; const char *device_name; int (*doit) (struct pci_dev *dev, const char *name); @@ -190,7 +190,7 @@ struct board_match { const char *board_name; int max_rom_decode_parallel; - int status; + const enum test_state status; int (*enable) (void); /* May be NULL. */ }; @@ -199,7 +199,7 @@ extern const struct board_match board_matches[]; struct board_info { const char *vendor; const char *name; - const int working; + const enum test_state working; #ifdef CONFIG_PRINT_WIKI const char *url; const char *note; @@ -224,7 +224,7 @@ extern struct pci_dev *pcidev_dev; struct pcidev_status { uint16_t vendor_id; uint16_t device_id; - int status; + const enum test_state status; const char *vendor_name; const char *device_name; }; @@ -425,7 +425,7 @@ extern const struct pcidev_status ata_hpt[]; struct usbdev_status { uint16_t vendor_id; uint16_t device_id; - int status; + const enum test_state status; const char *vendor_name; const char *device_name; }; |