summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/pci/onboard/Config.lb4
-rw-r--r--src/drivers/pci/onboard/chip.h11
-rw-r--r--src/drivers/pci/onboard/onboard.c19
3 files changed, 34 insertions, 0 deletions
diff --git a/src/drivers/pci/onboard/Config.lb b/src/drivers/pci/onboard/Config.lb
new file mode 100644
index 0000000000..d249df4658
--- /dev/null
+++ b/src/drivers/pci/onboard/Config.lb
@@ -0,0 +1,4 @@
+config chip.h
+
+object onboard.o
+
diff --git a/src/drivers/pci/onboard/chip.h b/src/drivers/pci/onboard/chip.h
new file mode 100644
index 0000000000..f06f53ec7a
--- /dev/null
+++ b/src/drivers/pci/onboard/chip.h
@@ -0,0 +1,11 @@
+#ifndef PCI_ONBOARD_H
+#define PCI_ONBOARD_H
+
+struct drivers_pci_onboard_config
+{
+ unsigned long rom_address;
+};
+struct chip_operations;
+extern struct chip_operations drivers_pci_onboard_ops;
+
+#endif
diff --git a/src/drivers/pci/onboard/onboard.c b/src/drivers/pci/onboard/onboard.c
new file mode 100644
index 0000000000..c5059323fa
--- /dev/null
+++ b/src/drivers/pci/onboard/onboard.c
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2004 Tyan Computer
+ * by yhlu@tyan.com
+ */
+
+#include <console/console.h>
+
+#include <device/device.h>
+#include <device/pci.h>
+#include <device/pci_ids.h>
+#include <device/pci_ops.h>
+#include "chip.h"
+
+
+struct chip_operations drivers_pci_onboard_ops = {
+#if CONFIG_CHIP_NAME == 1
+ CHIP_NAME("Onboard PCI")
+#endif
+};