summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/fdc.c
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-12-06 13:22:14 +0000
committerru <ru@FreeBSD.org>2005-12-06 13:22:14 +0000
commitc1606167c2178ab40aa4de7d37ba7fcf4ad41a03 (patch)
treea1640b9ca725414f70946c35f02c0290a4c3fb0c /sys/pc98/cbus/fdc.c
parent8bf1b419b8eb813a60f08ceb72e70d6f6d386795 (diff)
downloadFreeBSD-src-c1606167c2178ab40aa4de7d37ba7fcf4ad41a03.zip
FreeBSD-src-c1606167c2178ab40aa4de7d37ba7fcf4ad41a03.tar.gz
cpp(1) only understand integer arithmetical expressions, so
_MACHINE == i386 test always succeeds, even on non-i386 (both sides of expressions become 0). Remove the comment since _MACHINE and _MACHINE_ARCH are going away.
Diffstat (limited to 'sys/pc98/cbus/fdc.c')
-rw-r--r--sys/pc98/cbus/fdc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 2650fe7..d2ac417 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -926,8 +926,7 @@ fd_probe(device_t dev)
/*
* XXX I think using __i386__ is wrong here since we actually want to probe
* for the machine type, not the CPU type (so non-PC arch's like the PC98 will
- * fail the probe). However, for whatever reason, testing for _MACHINE_ARCH
- * == i386 breaks the test on FreeBSD/Alpha.
+ * fail the probe).
*/
#ifdef __i386__
if (fd->type == FDT_NONE && (fd->fdu == 0 || fd->fdu == 1)) {
OpenPOWER on IntegriCloud