[PATCH] ACPI CMOS region support rev. 5

Warner Losh imp at bsdimp.com
Wed Mar 18 21:32:16 UTC 2015


> On Mar 18, 2015, at 9:59 AM, Anthony Jenkins <Anthony.B.Jenkins at att.net> wrote:
> 
> On 03/18/2015 11:26 AM, Warner Losh wrote:
>> Looking at patch 5:
>> 
>> You need to rework this so there’s an atrtc_acpi.c. Put all the ACPI attachment in there.
> 
> Okay, shouldn't be a problem.
> 
>> You should also split off the little bit that’s ISA-specific into atrtc_isa.
> 
> You mean rtcin() and writertc()? ...but that's not my stuff, it was
> already in atrtc.c.  PNP0800 (the PC-AT RTC component) is (practically)
> an ISA-specific device.

There will be a small “isa” specific driver. Here ISA means ‘FreeBSD ISA attachment’ not
necessarily what you’d find on an ISA bus. This means you’d have two separate driver
statement. You can then do the ACPI stuff in the ACPI attachment and not have to worry
about whether or not it is compiled into the kernel, since you’d only include it if acpi is
in the kernel.

Warner

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-acpi/attachments/20150318/786776ef/attachment.sig>


More information about the freebsd-acpi mailing list