svn commit: r258201 - head/sys/dev/nand
Ian Lepore
ian at FreeBSD.org
Fri Nov 15 23:45:14 UTC 2013
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 {
More information about the svn-src-all
mailing list