summaryrefslogtreecommitdiff
path: root/src/include/device/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/device/chip.h')
-rw-r--r--src/include/device/chip.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/device/chip.h b/src/include/device/chip.h
index 574df1d4e0..20247b9209 100644
--- a/src/include/device/chip.h
+++ b/src/include/device/chip.h
@@ -7,9 +7,9 @@
/* some of the types of resources chips can control */
#ifndef CONFIG_CHIP_CONFIGURE
-#define CHIP_CONFIGURE(chip, pass) chip_configure(chip, pass)
+#define CONFIGURE(dev, pass) chip_configure(chip, pass)
#else
-#define CHIP_CONFIGURE(chip, pass)
+#define CONFIGURE(dev, pass)
#endif
struct com_ports {
@@ -28,13 +28,13 @@ struct lpt_ports {
};
enum chip_pass {
- CHIP_PASS_PRE_CONSOLE,
- CHIP_PASS_PRE_PCI,
- CHIP_PASS_PRE_DEVICE_ENUMERATE,
- CHIP_PASS_PRE_DEVICE_CONFIGURE,
- CHIP_PASS_PRE_DEVICE_ENABLE,
- CHIP_PASS_PRE_DEVICE_INITIALIZE,
- CHIP_PASS_PRE_BOOT
+ CONF_PASS_PRE_CONSOLE,
+ CONF_PASS_PRE_PCI,
+ CONF_PASS_PRE_DEVICE_ENUMERATE,
+ CONF_PASS_PRE_DEVICE_CONFIGURE,
+ CONF_PASS_PRE_DEVICE_ENABLE,
+ CONF_PASS_PRE_DEVICE_INITIALIZE,
+ CONF_PASS_PRE_BOOT
};