summaryrefslogtreecommitdiffstats
path: root/private/ntos/nthals/haleb64p/alpha/flashdrv.c
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/ntos/nthals/haleb64p/alpha/flashdrv.c
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/ntos/nthals/haleb64p/alpha/flashdrv.c')
-rw-r--r--private/ntos/nthals/haleb64p/alpha/flashdrv.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/private/ntos/nthals/haleb64p/alpha/flashdrv.c b/private/ntos/nthals/haleb64p/alpha/flashdrv.c
new file mode 100644
index 000000000..20b91fc59
--- /dev/null
+++ b/private/ntos/nthals/haleb64p/alpha/flashdrv.c
@@ -0,0 +1,23 @@
+#include "halp.h"
+#include "flash8k.h"
+
+//
+// Flash Drivers
+//
+// extern declarations of each known flash driver's Initialize() funcion
+// are needed here for addition into the list of known drivers.
+//
+// FlashDriverList is an array of driver Initialize() functions used to
+// identify the flash device present in the system. The last entry
+// in FlashDriverList must be NULL.
+//
+extern PFLASH_DRIVER I28F008SA_Initialize(PUCHAR);
+extern PFLASH_DRIVER Am29F080_Initialize(PUCHAR);
+extern PFLASH_DRIVER Am29F040_Initialize(PUCHAR);
+
+PFLASH_DRIVER (*FlashDriverList[])(PUCHAR) = {
+ I28F008SA_Initialize,
+ Am29F080_Initialize,
+ Am29F040_Initialize,
+ NULL};
+