Bug 231851

Summary: [patch] config: Error: device "atacard" is unknown, despite being described in sys/conf/NOTES
Product: Base System Reporter: Yuri Pankov <yuripv>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: emaste
Priority: --- Keywords: patch
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
change atapccard to atacard none

Description Yuri Pankov 2018-10-01 11:42:45 UTC
Created attachment 197672 [details]
change atapccard to atacard

sys/conf/NOTES:

#device         atacard         # CARDBUS support

...though using the following config fails with config: Error: device "atacard" is unknown:

include         GENERIC
ident           ATACARD

nodevice        ata

device          atacore
device          atacard
device          atapci
device          ataintel

Looks like sys/conf/files has the entry incorrect, listing it as "atapccard".  The attached patch fixes this.

P.S.: it could be done the other way round, fixing sys/conf/NOTES instead, but we seem to have "atacard" everywhere else, including the module name, so this looks to be more consistent.
Comment 1 Ed Maste freebsd_committer freebsd_triage 2019-05-21 19:04:31 UTC
Addressed by r344702
https://reviews.freebsd.org/rS344702