View Single Post
 
Old 09-23-2009, 02:37 PM
MikeHunt79's Avatar
MikeHunt79 MikeHunt79 is offline
Cheetah
 
Join Date: Sep 2009
Location: Bristol, UK
Posts: 5
Hi, here is my RTC section from my acer aspire one, I've got length = 0x08, do I need to change both length values?

Code:
                Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (BUF0, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x08,               // Length
                            )
                    })
                    Name (BUF1, ResourceTemplate ()
                    {
                        IO (Decode16,
                            0x0070,             // Range Minimum
                            0x0070,             // Range Maximum
                            0x01,               // Alignment
                            0x08,               // Length
                            )
                   })
                    Method (_CRS, 0, Serialized)
                    {
                        If (LEqual (HPTS, One))
                        {
                            Return (BUF0)
                        }
                        Else
                        {
                            Return (BUF1)
                        }
                    }
                }
Reply With Quote