Deleted Added
full compact
nandsim.c (235537) nandsim.c (237605)
1/*-
2 * Copyright (C) 2009-2012 Semihalf
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27/* Simulated NAND controller driver */
28
29#include <sys/cdefs.h>
1/*-
2 * Copyright (C) 2009-2012 Semihalf
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 13 unchanged lines hidden (view full) ---

22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 */
26
27/* Simulated NAND controller driver */
28
29#include <sys/cdefs.h>
30__FBSDID("$FreeBSD: head/sys/dev/nand/nandsim.c 235537 2012-05-17 10:11:18Z gber $");
30__FBSDID("$FreeBSD: head/sys/dev/nand/nandsim.c 237605 2012-06-26 18:08:03Z takawata $");
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/proc.h>
35#include <sys/bus.h>
36#include <sys/conf.h>
37#include <sys/kernel.h>
38#include <sys/module.h>

--- 619 unchanged lines hidden (view full) ---

658 default:
659 return (EOPNOTSUPP);
660 }
661 return (0);
662}
663
664DEV_MODULE(nandsim, nandsim_modevent, NULL);
665MODULE_VERSION(nandsim, 1);
31
32#include <sys/param.h>
33#include <sys/systm.h>
34#include <sys/proc.h>
35#include <sys/bus.h>
36#include <sys/conf.h>
37#include <sys/kernel.h>
38#include <sys/module.h>

--- 619 unchanged lines hidden (view full) ---

658 default:
659 return (EOPNOTSUPP);
660 }
661 return (0);
662}
663
664DEV_MODULE(nandsim, nandsim_modevent, NULL);
665MODULE_VERSION(nandsim, 1);
666MODULE_DEPEND(nandsim, nand, 1, 1, 1);
667MODULE_DEPEND(nandsim, alq, 1, 1, 1);