Angel Pons | 4446343 | 2021-06-16 16:43:26 +0200 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | Device (UNCR) |
| 4 | { |
| 5 | Name (_BBN, 0xFF) |
| 6 | Name (RID, 0x00) |
| 7 | Name (_HID, EisaId ("PNP0A03")) |
| 8 | Name (_CRS, ResourceTemplate () |
| 9 | { |
| 10 | WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode, |
| 11 | 0x0000, /* Granularity */ |
| 12 | 0x00FF, /* Range Minimum */ |
| 13 | 0x00FF, /* Range Maximum */ |
| 14 | 0x0000, /* Translation Offset */ |
| 15 | 0x0001, /* Length */ |
| 16 | ,, ) |
| 17 | }) |
| 18 | Device (SAD) |
| 19 | { |
| 20 | Name (_ADR, 0x01) |
| 21 | Name (RID, 0x00) |
| 22 | OperationRegion (SADC, PCI_Config, 0x00, 0x0100) |
| 23 | Field (SADC, DWordAcc, NoLock, Preserve) |
| 24 | { |
| 25 | Offset (0x40), |
| 26 | PAM0, 8, |
| 27 | PAM1, 8, |
| 28 | PAM2, 8, |
| 29 | PAM3, 8, |
| 30 | PAM4, 8, |
| 31 | PAM5, 8, |
| 32 | PAM6, 8 |
| 33 | } |
| 34 | } |
| 35 | } |