Index: nand.h
===================================================================
--- nand.h	(revision 250857)
+++ nand.h	(working copy)
@@ -219,7 +219,7 @@
 	uint16_t	vendor_rev;
 	uint8_t		vendor_spec[8];
 	uint16_t	crc;
-};
+}__attribute__((packed));
 
 struct nand_ecc_data {
 	int	eccsize;		/* Number of data bytes per ECC step */
Index: nandbus.c
===================================================================
--- nandbus.c	(revision 250857)
+++ nandbus.c	(working copy)
@@ -331,7 +331,7 @@
 nand_probe_onfi(device_t bus, uint8_t *onfi_compliant)
 {
 	device_t nfc;
-	char onfi_id[] = {'o', 'n', 'f', 'i', '\0'};
+	char onfi_id[] = {'O', 'N', 'F', 'I', '\0'};
 	int i;
 
 	nand_debug(NDBG_BUS,"probing ONFI");
