<commit_before># $FreeBSD$

.if ${MACHINE} == "pc98"
.PATH:  ${.CURDIR}/../../pc98/pc98
.else
.PATH:  ${.CURDIR}/../../dev/fdc
.endif
KMOD=	fdc
WARNS?=	2
.if ${MACHINE} == "pc98"
SRCS=	fd.c fdc_cbus.c
.else
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
SRCS=	fdc.c fdc_acpi.c fdc_isa.c fdc_pccard.c
.endif
SRCS+=	opt_acpi.h opt_fdc.h acpi_if.h bus_if.h card_if.h device_if.h \
	isa_if.h pccarddevs.h<commit_msg>Fix the alpha (and others) module build by only building fdc_acpi.c on i386 and amd64.  The only other ACPI machine (ia64) doesn't support floppy drives.  Tested by:  make MACHINE={pc98,i386,amd64,alpha,sparc64}<commit_after># $FreeBSD$

KMOD=	fdc
WARNS?=	2

.if ${MACHINE} == "pc98"
.PATH:  ${.CURDIR}/../../pc98/pc98
SRCS=	fd.c fdc_cbus.c
.else
.PATH:  ${.CURDIR}/../../dev/fdc
SRCS=	fdc.c fdc_isa.c fdc_pccard.c
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
SRCS+=	opt_acpi.h acpi_if.h fdc_acpi.c
.endif
.endif

SRCS+=	opt_fdc.h bus_if.h card_if.h device_if.h \
	isa_if.h pccarddevs.h
{'fraction_non_alphanumeric': 0.2, 'fraction_numerical': 0.035238095238095235, 'mean_word_length': 3.4914529914529915, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5969388', 'n_tokens_mistral': 537, 'n_tokens_neox': 514, 'n_words': 107}