Author: ian
Date: Fri Nov 15 23:45:13 2013
New Revision: 258201
URL: http://svnweb.freebsd.org/changeset/base/258201

Log:
  Move the luns field to the end of the struct, for serendipitous packing.
  (I was supposed to do this before committing it initially.)

Modified:
  head/sys/dev/nand/nand.h

Modified: head/sys/dev/nand/nand.h
==============================================================================
--- head/sys/dev/nand/nand.h    Fri Nov 15 23:41:32 2013        (r258200)
+++ head/sys/dev/nand/nand.h    Fri Nov 15 23:45:13 2013        (r258201)
@@ -236,7 +236,6 @@ struct onfi_params {
 CTASSERT(sizeof(struct onfi_params) == 256);
 
 struct onfi_chip_params {
-       uint8_t luns;
        uint32_t blocks_per_lun;
        uint32_t pages_per_block;
        uint32_t bytes_per_page;
@@ -247,6 +246,7 @@ struct onfi_chip_params {
        uint16_t t_ccs;
        uint16_t features;
        uint8_t address_cycles;
+       uint8_t luns;
 };
 
 struct nand_ecc_data {
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to