Soren!

I bet someone else already mentioned your commit broke Alpha kernels.

Index: fd.c
===================================================================
RCS file: /home/ncvs/src/sys/isa/fd.c,v
retrieving revision 1.223
diff -u -p -r1.223 fd.c
--- fd.c        2001/12/16 05:37:22     1.223
+++ fd.c        2001/12/18 18:08:03
@@ -1180,7 +1180,7 @@ fd_probe(device_t dev)
        fd->flags = FD_UA;      /* make sure fdautoselect() will be called */
 
        fd->type = FD_DTYPE(flags);
-#if _MACHINE_ARCH == i386
+#ifdef __i386__
        if (fd->type == FDT_NONE && (fd->fdu == 0 || fd->fdu == 1)) {
                /* Look up what the BIOS thinks we have. */
                if (fd->fdu == 0) {
@@ -1200,7 +1200,7 @@ fd_probe(device_t dev)
                if (fd->type == FDT_288M_1)
                        fd->type = FDT_288M;
        }
-#endif /* _MACHINE_ARCH == i386 */
+#endif /* __i386__ */
        /* is there a unit? */
        if (fd->type == FDT_NONE)
                return (ENXIO);


Cheers,
-- 
Ruslan Ermilov          Oracle Developer/DBA,
[EMAIL PROTECTED]           Sunbay Software AG,
[EMAIL PROTECTED]          FreeBSD committer,
+380.652.512.251        Simferopol, Ukraine

http://www.FreeBSD.org  The Power To Serve
http://www.oracle.com   Enabling The Information Age

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to