aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/fdc
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-10-23 05:52:52 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-10-23 05:52:52 +0000
commit042093540c7f06c3ca9c23b16b75d9f9d3a98443 (patch)
tree6690f6d104f84ff136613862933c28d30f670bee /sys/dev/fdc
parent2f6e000a7e9fa04f609088c8ba7d51e4d76c3aca (diff)
Notes
Diffstat (limited to 'sys/dev/fdc')
-rw-r--r--sys/dev/fdc/fdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index 0c0d59c5f9bd..fe88b949e3eb 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.c
@@ -1210,7 +1210,7 @@ fd_probe(device_t dev)
* fail the probe). However, for whatever reason, testing for _MACHINE_ARCH
* == i386 breaks the test on FreeBSD/Alpha.
*/
-#ifdef __i386__
+#if defined(__i386__) || defined(__amd64__)
if (fd->type == FDT_NONE && (fd->fdu == 0 || fd->fdu == 1)) {
/* Look up what the BIOS thinks we have. */
if (fd->fdu == 0) {
@@ -1230,7 +1230,7 @@ fd_probe(device_t dev)
if (fd->type == FDT_288M_1)
fd->type = FDT_288M;
}
-#endif /* __i386__ */
+#endif /* __i386__ || __amd64__ */
/* is there a unit? */
if (fd->type == FDT_NONE)
return (ENXIO);