head	1.2;
access;
symbols
	netbsd-11-0-RC5:1.1
	netbsd-11-0-RC4:1.1
	netbsd-11-0-RC3:1.1
	netbsd-11-0-RC2:1.1
	netbsd-11-0-RC1:1.1
	perseant-exfatfs-base-20250801:1.1
	netbsd-11:1.1.0.40
	netbsd-11-base:1.1
	netbsd-10-1-RELEASE:1.1
	perseant-exfatfs-base-20240630:1.1
	perseant-exfatfs:1.1.0.38
	perseant-exfatfs-base:1.1
	netbsd-9-4-RELEASE:1.1
	netbsd-10-0-RELEASE:1.1
	netbsd-10-0-RC6:1.1
	netbsd-10-0-RC5:1.1
	netbsd-10-0-RC4:1.1
	netbsd-10-0-RC3:1.1
	netbsd-10-0-RC2:1.1
	thorpej-ifq:1.1.0.36
	thorpej-ifq-base:1.1
	thorpej-altq-separation:1.1.0.34
	thorpej-altq-separation-base:1.1
	netbsd-10-0-RC1:1.1
	netbsd-10:1.1.0.32
	netbsd-10-base:1.1
	bouyer-sunxi-drm:1.1.0.30
	bouyer-sunxi-drm-base:1.1
	netbsd-9-3-RELEASE:1.1
	thorpej-i2c-spi-conf2:1.1.0.28
	thorpej-i2c-spi-conf2-base:1.1
	thorpej-futex2:1.1.0.26
	thorpej-futex2-base:1.1
	thorpej-cfargs2:1.1.0.24
	thorpej-cfargs2-base:1.1
	cjep_sun2x-base1:1.1
	cjep_sun2x:1.1.0.22
	cjep_sun2x-base:1.1
	cjep_staticlib_x-base1:1.1
	netbsd-9-2-RELEASE:1.1
	cjep_staticlib_x:1.1.0.20
	cjep_staticlib_x-base:1.1
	thorpej-i2c-spi-conf:1.1.0.18
	thorpej-i2c-spi-conf-base:1.1
	thorpej-cfargs:1.1.0.16
	thorpej-cfargs-base:1.1
	thorpej-futex:1.1.0.14
	thorpej-futex-base:1.1
	netbsd-9-1-RELEASE:1.1
	bouyer-xenpvh-base2:1.1
	phil-wifi-20200421:1.1
	bouyer-xenpvh-base1:1.1
	phil-wifi-20200411:1.1
	bouyer-xenpvh:1.1.0.12
	bouyer-xenpvh-base:1.1
	is-mlppp:1.1.0.10
	is-mlppp-base:1.1
	phil-wifi-20200406:1.1
	ad-namecache-base3:1.1
	netbsd-9-0-RELEASE:1.1
	netbsd-9-0-RC2:1.1
	ad-namecache-base2:1.1
	ad-namecache-base1:1.1
	ad-namecache:1.1.0.8
	ad-namecache-base:1.1
	netbsd-9-0-RC1:1.1
	phil-wifi-20191119:1.1
	netbsd-9:1.1.0.6
	netbsd-9-base:1.1
	phil-wifi:1.1.0.4
	phil-wifi-20190609:1.1
	isaki-audio2:1.1.0.2
	isaki-audio2-base:1.1;
locks; strict;
comment	@# @;


1.2
date	2025.09.14.00.28.44;	author thorpej;	state Exp;
branches;
next	1.1;
commitid	rpHYO7eQVQ7LbCaG;

1.1
date	2019.02.23.10.43.25;	author mlelstv;	state Exp;
branches
	1.1.4.1;
next	;
commitid	Aw4AVizFukWcyScB;

1.1.4.1
date	2019.02.23.10.43.25;	author christos;	state dead;
branches;
next	1.1.4.2;
commitid	jtc8rnCzWiEEHGqB;

1.1.4.2
date	2019.06.10.22.07.32;	author christos;	state Exp;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;


desc
@@


1.2
log
@Make SPI direct configuration less #ifdef'y.  No more checking what kind
of platform device tree; instead, use a device call to enumerate the
direct config children of the bus.
@
text
@# $NetBSD: Makefile,v 1.1 2019/02/23 10:43:25 mlelstv Exp $

INCSDIR= /usr/include/dev/spi
INCS=   spi_io.h

spi_calls.h: ${.CURDIR}/spi_calls
	echo "${TOOL_AWK} -f ${.CURDIR}/../../kern/gendevcalls.awk \
	    ${.CURDIR}/spi_calls > ${.CURDIR}/spi_calls.h"
	${TOOL_AWK} -f ${.CURDIR}/../../kern/gendevcalls.awk \
	    ${.CURDIR}/spi_calls > ${.CURDIR}/spi_calls.h

.include <bsd.kinc.mk>
@


1.1
log
@Add userland driver to spi framework.

Previously spi would configure the controller to use the lowest speed of
all connected devices since the kernel started and to fail attempted mode
changes. This is now improved to keep individual modes and speeds for each
slave and to reconfigure the controller as necessary for each transfer.

Added man page for spi(9).
@
text
@d1 1
a1 1
# $NetBSD: $
d6 6
@


1.1.4.1
log
@file Makefile was added on branch phil-wifi on 2019-06-10 22:07:32 +0000
@
text
@d1 6
@


1.1.4.2
log
@Sync with HEAD
@
text
@a0 6
# $NetBSD: Makefile,v 1.1 2019/02/23 10:43:25 mlelstv Exp $

INCSDIR= /usr/include/dev/spi
INCS=   spi_io.h

.include <bsd.kinc.mk>
@


