Vaio PCG-GRV516G

Eric Dillenseger eric.dillenseger at gmail.com
Sat Oct 8 04:27:36 PDT 2005


Hello,

Following the handbook, I'm posting here some informations about my
laptop. I'm running somwhat -current and acpi can't shutdown or reboot
the laptop.

I tried with hw.apic.enable_extint=1 in /boot/loader.conf.
But it seems it wasn't a interrupt storm as there's no effect.

When I boot without acpi, the kernel crashes.

Just find attached the .asl, dmesg from boot -v and kernel config file.
If you need anything else, just let me know.

-- 
"Any attempt to brew coffee with a teapot should result in the error
code "418 I'm a teapot".
The resulting entity body MAY be short and stout."
-- HTCPCP Spec, RFC 2324
-------------- next part --------------
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.432 2005/08/06 23:05:48 davidxu Exp $

machine		i386
cpu		I686_CPU
options		CPU_SUSP_HLT
ident		VAIO

# To statically compile in device wiring instead of /boot/device.hints
#hints		"GENERIC.hints"		# Default places to look for devices.

#makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols

#options 	SCHED_ULE		# ULE scheduler
options 	SCHED_4BSD		# 4BSD scheduler
options 	PREEMPTION		# Enable kernel thread preemption
options 	INET			# InterNETworking
options 	INET6			# IPv6 communications protocols
options 	FFS			# Berkeley Fast Filesystem
options 	SOFTUPDATES		# Enable FFS soft updates support
options 	UFS_ACL			# Support for access control lists
options 	UFS_DIRHASH		# Improve performance on big directories
options 	MD_ROOT			# MD is a potential root device
options 	NFSCLIENT		# Network Filesystem Client
options 	NFSSERVER		# Network Filesystem Server
options 	NFS_ROOT		# NFS usable as /, requires NFSCLIENT
options 	MSDOSFS			# MSDOS Filesystem
options 	CD9660			# ISO 9660 Filesystem
options 	PROCFS			# Process filesystem (requires PSEUDOFS)
options 	PSEUDOFS		# Pseudo-filesystem framework
options 	GEOM_GPT		# GUID Partition Tables.
options 	COMPAT_43		# Compatible with BSD 4.3 [KEEP THIS!]
options 	COMPAT_FREEBSD4		# Compatible with FreeBSD4
options 	COMPAT_FREEBSD5		# Compatible with FreeBSD5
options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
options 	KTRACE			# ktrace(1) support
options 	SYSVSHM			# SYSV-style shared memory
options 	SYSVMSG			# SYSV-style message queues
options 	SYSVSEM			# SYSV-style semaphores
options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
#options 	AHC_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~128k to driver.
#options 	AHD_REG_PRETTY_PRINT	# Print register bitfields in debug
					# output.  Adds ~215k to driver.
options 	ADAPTIVE_GIANT		# Giant mutex is adaptive.

# Debugging for use in -current
#options 	KDB			# Enable kernel debugger support.
#options 	DDB			# Support DDB.
#options 	GDB			# Support remote GDB.
#options 	INVARIANTS		# Enable calls of extra sanity checking
#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
#options 	WITNESS			# Enable checks to detect deadlocks and cycles
#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed

options		VESA
device		acpi
device		acpi_sony
device          acpi_video

# Direct Rendering modules for 3D acceleration.
device          drm             # DRM core module required by DRM drivers
device          radeondrm       # ATI Radeon

# To make an SMP kernel, the next two lines are needed
#options 	SMP			# Symmetric MultiProcessor Kernel
device		apic			# I/O APIC

device sound
device snd_ich

# Bus support.  Do not remove isa, even if you have no isa slots
device		isa
device		eisa
device		pci

# Floppy drives
device		fdc

# ATA and ATAPI devices
device		ata
device		atadisk		# ATA disk drives
#device		ataraid		# ATA RAID drives
device		atapicd		# ATAPI CDROM drives
#device		atapifd		# ATAPI floppy drives
#device		atapist		# ATAPI tape drives
options 	ATA_STATIC_ID	# Static device numbering

# SCSI Controllers
#device		ahb		# EISA AHA1742 family
#device		ahc		# AHA2940 and onboard AIC7xxx devices
#device		ahd		# AHA39320/29320 and onboard AIC79xx devices
#device		amd		# AMD 53C974 (Tekram DC-390(T))
#device		isp		# Qlogic family
#device 	ispfw		# Firmware for QLogic HBAs- normally a module
#device		mpt		# LSI-Logic MPT-Fusion
#device		ncr		# NCR/Symbios Logic
#device		sym		# NCR/Symbios Logic (newer chipsets + those of `ncr')
#device		trm		# Tekram DC395U/UW/F DC315U adapters

#device		adv		# Advansys SCSI adapters
#device		adw		# Advansys wide SCSI adapters
#device		aha		# Adaptec 154x SCSI adapters
#device		aic		# Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device		bt		# Buslogic/Mylex MultiMaster SCSI adapters

#device		ncv		# NCR 53C500
#device		nsp		# Workbit Ninja SCSI-3
#device		stg		# TMC 18C30/18C50

# SCSI peripherals
device		scbus		# SCSI bus (required for SCSI)
#device		ch		# SCSI media changers
device		da		# Direct Access (disks)
#device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		ses		# SCSI Environmental Services (and SAF-TE)

# RAID controllers interfaced to the SCSI subsystem
#device		amr		# AMI MegaRAID
#device		arcmsr		# Areca SATA II RAID
#device		asr		# DPT SmartRAID V, VI and Adaptec SCSI RAID
#device		ciss		# Compaq Smart RAID 5*
#device		dpt		# DPT Smartcache III, IV - See NOTES for options
#device		hptmv		# Highpoint RocketRAID 182x
#device		iir		# Intel Integrated RAID
#device		ips		# IBM (Adaptec) ServeRAID
#device		mly		# Mylex AcceleRAID/eXtremeRAID
#device		twa		# 3ware 9000 series PATA/SATA RAID

# RAID controllers
#device		aac		# Adaptec FSA RAID
#device		aacp		# SCSI passthrough for aac (requires CAM)
#device		ida		# Compaq Smart RAID
#device		mlx		# Mylex DAC960 family
#device		pst		# Promise Supertrak SX6000
#device		twe		# 3ware ATA RAID

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc		# AT keyboard controller
device		atkbd		# AT keyboard
device		psm		# PS/2 mouse

device		vga		# VGA video card driver

#device		splash		# Splash screen and screen saver support

# syscons is the default console driver, resembling an SCO console
device		sc

# Enable this for the pcvt (VT220 compatible) console driver
#options 	FAT_CURSOR	# start with block cursor

device		agp		# support several AGP chipsets

# Floating point support - do not disable.
device		npx

# Power management support (see NOTES for more options)
#device		apm
# Add suspend/resume support for the i8254.
device		pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device		cbb		# cardbus (yenta) bridge
device		pccard		# PC Card (16-bit) bus
device		cardbus		# CardBus (32-bit) bus

# Serial (COM) ports
#device		sio		# 8250, 16[45]50 based serial ports

# Parallel port
device		ppc
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
#device		plip		# TCP/IP over parallel
#device		ppi		# Parallel port interface device
#device		vpo		# Requires scbus and da

# If you've got a "dumb" serial or parallel PCI card that is
# supported by the puc(4) glue driver, uncomment the following
# line to enable it (connects to the sio and/or ppc drivers):
#device		puc

# PCI Ethernet NICs.
#device		de		# DEC/Intel DC21x4x (``Tulip'')
#device		em		# Intel PRO/1000 adapter Gigabit Ethernet Card
#device		ixgb		# Intel PRO/10GbE Ethernet Card
#device		txp		# 3Com 3cR990 (``Typhoon'')
#device		vx		# 3Com 3c590, 3c595 (``Vortex'')

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device		miibus		# MII bus support
#device		bfe		# Broadcom BCM440x 10/100 Ethernet
#device		bge		# Broadcom BCM570xx Gigabit Ethernet
#device		dc		# DEC/Intel 21143 and various workalikes
device		fxp		# Intel EtherExpress PRO/100B (82557, 82558)
#device		lge		# Level 1 LXT1001 gigabit Ethernet
#device		nge		# NatSemi DP83820 gigabit Ethernet
#device		nve		# nVidia nForce MCP on-board Ethernet Networking
#device		pcn		# AMD Am79C97x PCI 10/100(precedence over 'lnc')
#device		re		# RealTek 8139C+/8169/8169S/8110S
#device		rl		# RealTek 8129/8139
#device		sf		# Adaptec AIC-6915 (``Starfire'')
#device		sis		# Silicon Integrated Systems SiS 900/SiS 7016
#device		sk		# SysKonnect SK-984x & SK-982x gigabit Ethernet
#device		ste		# Sundance ST201 (D-Link DFE-550TX)
#device		ti		# Alteon Networks Tigon I/II gigabit Ethernet
#device		tl		# Texas Instruments ThunderLAN
#device		tx		# SMC EtherPower II (83c170 ``EPIC'')
#device		vge		# VIA VT612x gigabit Ethernet
#device		vr		# VIA Rhine, Rhine II
#device		wb		# Winbond W89C840F
#device		xl		# 3Com 3c90x (``Boomerang'', ``Cyclone'')

# ISA Ethernet NICs.  pccard NICs included.
#device		cs		# Crystal Semiconductor CS89x0 NIC
# 'device ed' requires 'device miibus'
#device		ed		# NE[12]000, SMC Ultra, 3c503, DS8390 cards
#device		ex		# Intel EtherExpress Pro/10 and Pro/10+
#device		ep		# Etherlink III based cards
#device		fe		# Fujitsu MB8696x based cards
#device		ie		# EtherExpress 8/16, 3C507, StarLAN 10 etc.
#device		lnc		# NE2100, NE32-VL Lance Ethernet cards
#device		sn		# SMC's 9000 series of Ethernet chips
#device		xe		# Xircom pccard Ethernet

# ISA devices that use the old ISA shims
#device		le

# Wireless NIC cards
device		wlan		# 802.11 support
#device		an		# Aironet 4500/4800 802.11 wireless NICs.
#device		awi		# BayStack 660 and others
#device		ral		# Ralink Technology RT2500 wireless NICs.
#device		wi		# WaveLAN/Intersil/Symbol 802.11 wireless NICs.
#device		wl		# Older non 802.11 Wavelan wireless NIC.

# Pseudo devices.
device		loop		# Network loopback
device		mem		# Memory and kernel memory devices
device		io		# I/O device
device		random		# Entropy device
device		ether		# Ethernet support
#device		sl		# Kernel SLIP
#device		ppp		# Kernel PPP
device		tun		# Packet tunnel.
device		pty		# Pseudo-ttys (telnet etc)
device		md		# Memory "disks"
#device		gif		# IPv6 and IPv4 tunneling
#device		faith		# IPv6-to-IPv4 relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
#device		bpf		# Berkeley packet filter

# USB support
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		ehci		# EHCI PCI->USB interface (USB 2.0)
device		usb		# USB Bus (required)
#device		udbp		# USB Double Bulk Pipe devices
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
#device		ural		# Ralink Technology RT2500USB wireless NICs
#device		urio		# Diamond Rio 500 MP3 player
device		uscanner	# Scanners
# USB Ethernet, requires miibus
#device		aue		# ADMtek USB Ethernet
#device		axe		# ASIX Electronics USB Ethernet
#device		cdce		# Generic USB over Ethernet
#device		cue		# CATC USB Ethernet
#device		kue		# Kawasaki LSI USB Ethernet
#device		rue		# RealTek RTL8150 USB Ethernet

# FireWire support
device		firewire	# FireWire bus code
device		sbp		# SCSI over FireWire (Requires scbus and da)
#device		fwe		# Ethernet over FireWire (non-standard!)
-------------- next part --------------
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 7.0-CURRENT #9: Thu Sep 22 22:47:06 CEST 2005
    root at coincoin.workgroup:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc08d9000.
Preloaded elf module "/boot/kernel/if_ndis.ko" at 0xc08d91bc.
Preloaded elf module "/boot/kernel/ndis.ko" at 0xc08d9268.
Calibrating clock(s) ... i8254 clock: 1188414 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254" frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 2395758980 Hz
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2395.76-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  Features=0xbfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x400<CNTX-ID>
real memory  = 536346624 (511 MB)
Physical memory chunk(s):
0x0000000000001000 - 0x000000000009dfff, 643072 bytes (157 pages)
0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
0x0000000000c25000 - 0x000000001f5c1fff, 513396736 bytes (125341 pages)
0x000000001ff00000 - 0x000000001ff77fff, 491520 bytes (120 pages)
avail memory = 515452928 (491 MB)
bios32: Found BIOS32 Service Directory header at 0xc00f76c0
bios32: Entry = 0xfd890 (c00fd890)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfd890+0x13a
pnpbios: Found PnP BIOS data at 0xc00f76f0
pnpbios: Entry = f0000:af37  Rev = 1.0
Other BIOS signatures found:
wlan: <802.11 Link Layer>
mem: <memory>
Pentium Pro MTRR support enabled
null: <null device, zero device>
nfslock: pseudo-device
random: <entropy source, Software, Yarrow>
io: <I/O>
VESA: information block
56 45 53 41 00 02 00 01 00 01 01 00 00 00 22 00 
00 01 00 02 00 01 19 01 00 01 2f 01 00 01 34 01 
00 01 82 01 0d 01 0e 01 0f 01 20 01 92 01 93 01 
94 01 95 01 96 01 a2 01 a3 01 a4 01 a5 01 a6 01 
VESA: 60 mode(s) found
VESA: v2.0, 32768k memory, flags:0x1, mode table:0xc080c1a2 (1000022)
VESA: ATI MOBILITY RADEON 7500
VESA: ATI Technologies Inc. D7   01.00
acpi0: <SONY> on motherboard
pci_open(1):	mode 1 addr port (0x0cf8) is 0x8000f904
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=1a308086)
pcibios: BIOS version 2.10
Found $PIR table, 7 entries at 0xc00fdf50
PCI-Only Interrupts: none
Location  Bus Device Pin  Link  IRQs
embedded    2    5    A   0x69  3
embedded    2    8    A   0x68  9
embedded    0   29    A   0x60  9
embedded    0   29    B   0x63  9
embedded    0    1    A   0x60  9
AcpiOsDerivePciId: bus 1 dev 0 func 0
acpi0: [MPSAFE]
AcpiOsDerivePciId: bus 2 dev 5 func 0
AcpiOsDerivePciId: bus 2 dev 5 func 1
AcpiOsDerivePciId: bus 0 dev 31 func 0
AcpiOsDerivePciId: bus 0 dev 0 func 0
AcpiOsDerivePciId: bus 0 dev 31 func 0
acpi_ec0: <Embedded Controller: GPE 0x1c> port 0x62,0x66 on acpi0
acpi_ec0: info: new max delay is 20 us
acpi_ec0: info: new max delay is 90 us
pci_link0: <ACPI PCI Link LNKA> irq 9 on acpi0
pci_link0: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0    9   N     0  9
pci_link0: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0    9   N     0  9
pci_link0: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link1: <ACPI PCI Link LNKB> on acpi0
pci_link1: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link1: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link1: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link2: <ACPI PCI Link LNKC> on acpi0
pci_link2: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link2: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link2: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link3: <ACPI PCI Link LNKD> irq 9 on acpi0
pci_link3: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0    9   N     0  9
pci_link3: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0    9   N     0  9
pci_link3: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link4: <ACPI PCI Link LNKE> irq 9 on acpi0
pci_link4: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0    9   N     0  9
pci_link4: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0    9   N     0  9
pci_link4: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link5: <ACPI PCI Link LNKF> on acpi0
pci_link5: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link5: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link5: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link6: <ACPI PCI Link LNKG> on acpi0
pci_link6: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link6: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link6: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link7: <ACPI PCI Link LNKH> on acpi0
pci_link7: Links after initial probe:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link7: Links after initial validation:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
pci_link7: Links after disable:
Index  IRQ  Rtd  Ref  IRQs
    0  255   N     0  9
ACPI timer: 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_throttle0: <ACPI CPU Throttling> on cpu0
acpi_throttle0: P_CNT from P_BLK 0x1010
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: physical bus=0
found->	vendor=0x8086, dev=0x1a30, revid=0x05
	bus=0, slot=0, func=0
	class=06-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	map[10]: type 3, range 32, base ec000000, size 26, enabled
found->	vendor=0x8086, dev=0x1a31, revid=0x05
	bus=0, slot=1, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0007, statreg=0x00a0, cachelnsz=0 (dwords)
	lattimer=0x60 (2880 ns), mingnt=0x0c (3000 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x2482, revid=0x02
	bus=0, slot=29, func=0
	class=0c-03-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=9
	map[20]: type 4, range 32, base 00001800, size  5, enabled
pcib0: matched entry for 0.29.INTA (src \\_SB_.LNKA:0)
pcib0: slot 29 INTA routed to irq 9 via \\_SB_.LNKA
found->	vendor=0x8086, dev=0x2484, revid=0x02
	bus=0, slot=29, func=1
	class=0c-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=9
	map[20]: type 4, range 32, base 00001820, size  5, enabled
pcib0: matched entry for 0.29.INTB (src \\_SB_.LNKD:0)
pcib0: slot 29 INTB routed to irq 9 via \\_SB_.LNKD
found->	vendor=0x8086, dev=0x2487, revid=0x02
	bus=0, slot=29, func=2
	class=0c-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=c, irq=255
	map[20]: type 4, range 32, base 00001840, size  5, enabled
found->	vendor=0x8086, dev=0x2448, revid=0x42
	bus=0, slot=30, func=0
	class=06-04-00, hdrtype=0x01, mfdev=0
	cmdreg=0x0007, statreg=0x0080, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x04 (1000 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x248c, revid=0x02
	bus=0, slot=31, func=0
	class=06-01-00, hdrtype=0x00, mfdev=1
	cmdreg=0x000f, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found->	vendor=0x8086, dev=0x248a, revid=0x02
	bus=0, slot=31, func=1
	class=01-01-8a, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=255
	map[20]: type 4, range 32, base 00001860, size  4, enabled
	map[24]: type 1, range 32, base e8000000, size 10, memory disabled
found->	vendor=0x8086, dev=0x2483, revid=0x02
	bus=0, slot=31, func=3
	class=0c-05-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0001, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=255
	map[20]: type 4, range 32, base 00001880, size  5, enabled
found->	vendor=0x8086, dev=0x2485, revid=0x02
	bus=0, slot=31, func=5
	class=04-01-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=9
	map[10]: type 4, range 32, base 00001c00, size  8, enabled
	map[14]: type 4, range 32, base 000018c0, size  6, enabled
pcib0: matched entry for 0.31.INTB (src \\_SB_.LNKB:0)
pci_link1: Picked IRQ 9 with weight 4
pcib0: slot 31 INTB routed to irq 9 via \\_SB_.LNKB
found->	vendor=0x8086, dev=0x2486, revid=0x02
	bus=0, slot=31, func=6
	class=07-03-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
	lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=b, irq=255
	map[10]: type 4, range 32, base 00002400, size  8, enabled
	map[14]: type 4, range 32, base 00002000, size  7, enabled
agp0: <Intel 82845 host to AGP bridge> mem 0xec000000-0xefffffff at device 0.0 on pci0
agp0: Reserved 0x4000000 bytes for rid 0x10 type 3 at 0xec000000
agp0: allocating GATT for aperture of size 64M
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1:   secondary bus     1
pcib1:   subordinate bus   1
pcib1:   I/O decode        0x3000-0x3fff
pcib1:   memory decode     0xe8100000-0xe81fffff
pcib1:   prefetched decode 0xf0000000-0xf7ffffff
pci1: <ACPI PCI bus> on pcib1
pci1: physical bus=1
found->	vendor=0x1002, dev=0x4c57, revid=0x00
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0283, statreg=0x02b0, cachelnsz=8 (dwords)
	lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=9
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 3, range 32, base f0000000, size 27, enabled
pcib1: (null) requested memory range 0xf0000000-0xf7ffffff: good
	map[14]: type 4, range 32, base 00003000, size  8, enabled
pcib1: (null) requested I/O range 0x3000-0x30ff: in range
	map[18]: type 1, range 32, base e8100000, size 16, enabled
pcib1: (null) requested memory range 0xe8100000-0xe810ffff: good
pcib1: matched entry for 1.0.INTA (src \\_SB_.LNKA:0)
pcib1: slot 0 INTA routed to irq 9 via \\_SB_.LNKA
drm0: <ATI Radeon LW RV200 Mobility 7500 M7> port 0x3000-0x30ff mem 0xf0000000-0xf7ffffff,0xe8100000-0xe810ffff irq 9 at device 0.0 on pci1
info: [drm] AGP at 0xec000000 64MB
info: [drm] Initialized radeon 1.16.0 20050311 on minor 0
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x1800-0x181f irq 9 at device 29.0 on pci0
uhci0: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1800
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x1820-0x183f irq 9 at device 29.1 on pci0
uhci1: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1820
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x1840-0x185f at device 29.2 on pci0
uhci2: Reserved 0x20 bytes for rid 0x20 type 4 at 0x1840
pcib0: matched entry for 0.29.INTC (src \\_SB_.LNKC:0)
pci_link2: Picked IRQ 9 with weight 7
pcib0: slot 29 INTC routed to irq 9 via \\_SB_.LNKC
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pcib2:   secondary bus     2
pcib2:   subordinate bus   2
pcib2:   I/O decode        0x4000-0x4fff
pcib2:   memory decode     0xe8200000-0xe82fffff
pcib2:   prefetched decode 0xfff00000-0xfffff
pcib2:   Subtractively decoded bridge.
pci2: <ACPI PCI bus> on pcib2
pci2: physical bus=2
found->	vendor=0x1180, dev=0x0476, revid=0xa8
	bus=2, slot=5, func=0
	class=06-07-00, hdrtype=0x02, mfdev=1
	cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x07 (1750 ns)
	intpin=a, irq=3
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base 00000000, size 12, enabled
pcib2: matched entry for 2.5.INTA (src \\_SB_.LNKF:0)
pci_link5: Picked IRQ 9 with weight 10
pcib2: slot 5 INTA routed to irq 9 via \\_SB_.LNKF
found->	vendor=0x1180, dev=0x0476, revid=0xa8
	bus=2, slot=5, func=1
	class=06-07-00, hdrtype=0x02, mfdev=1
	cmdreg=0x0007, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x07 (1750 ns)
	intpin=b, irq=255
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base 00000000, size 12, enabled
found->	vendor=0x1180, dev=0x0552, revid=0x00
	bus=2, slot=5, func=2
	class=0c-00-10, hdrtype=0x00, mfdev=1
	cmdreg=0x0006, statreg=0x0210, cachelnsz=0 (dwords)
	lattimer=0x40 (1920 ns), mingnt=0x02 (500 ns), maxlat=0x04 (1000 ns)
	intpin=c, irq=255
	powerspec 2  supports D0 D3  current D0
	map[10]: type 1, range 32, base e8201000, size 11, enabled
pcib2: (null) requested memory range 0xe8201000-0xe82017ff: good
found->	vendor=0x8086, dev=0x1031, revid=0x42
	bus=2, slot=8, func=0
	class=02-00-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0017, statreg=0x0290, cachelnsz=8 (dwords)
	lattimer=0x42 (1980 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
	intpin=a, irq=9
	powerspec 2  supports D0 D1 D2 D3  current D0
	map[10]: type 1, range 32, base e8200000, size 12, enabled
pcib2: (null) requested memory range 0xe8200000-0xe8200fff: good
	map[14]: type 4, range 32, base 00004000, size  6, enabled
pcib2: (null) requested I/O range 0x4000-0x403f: in range
pcib2: matched entry for 2.8.INTA (src \\_SB_.LNKE:0)
pcib2: slot 8 INTA routed to irq 9 via \\_SB_.LNKE
cbb0: <RF5C476 PCI-CardBus Bridge> irq 9 at device 5.0 on pci2
pcib2: cbb0 requested memory range 0xe8200000-0xe82fffff: good
cbb0: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xe8202000
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb0: [MPSAFE]
cbb0: PCI Configuration space:
  0x00: 0x04761180 0x02100007 0x060700a8 0x00824000 
  0x10: 0xe8202000 0x020000dc 0x20040302 0xfffff000 
  0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 
  0x30: 0x00000000 0xfffffffc 0x00000000 0x07000109 
  0x40: 0x813c104d 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x04a00001 0x00000000 0x04630463 0x00000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x00000046 0x00000000 0x00000000 0x00000000 
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x813c104d 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001 
  0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
cbb1: <RF5C476 PCI-CardBus Bridge> at device 5.1 on pci2
pcib2: cbb1 requested memory range 0xe8200000-0xe82fffff: good
cbb1: Lazy allocation of 0x1000 bytes rid 0x10 type 3 at 0xe8203000
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
pcib2: matched entry for 2.5.INTB (src \\_SB_.LNKG:0)
pci_link6: Picked IRQ 9 with weight 12
pcib2: slot 5 INTB routed to irq 9 via \\_SB_.LNKG
cbb1: [MPSAFE]
cbb1: PCI Configuration space:
  0x00: 0x04761180 0x02100007 0x060700a8 0x00824000 
  0x10: 0xe8203000 0x020000dc 0x20060502 0xfffff000 
  0x20: 0x00000000 0xfffff000 0x00000000 0xfffffffc 
  0x30: 0x00000000 0xfffffffc 0x00000000 0x07000209 
  0x40: 0x813c104d 0x00000001 0x00000000 0x00000000 
  0x50: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x60: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x70: 0x00000000 0x00000000 0x00000000 0x00000000 
  0x80: 0x04a00001 0x00000000 0x04630463 0x00000000 
  0x90: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xa0: 0x00000046 0x00000000 0x00000000 0x00000000 
  0xb0: 0x00000000 0x00000000 0x00000000 0x00000000 
  0xc0: 0x813c104d 0x00000000 0x00000000 0x00000000 
  0xd0: 0x00000000 0x00000000 0x00000000 0xfe0a0001 
  0xe0: 0x24c04000 0x00000000 0x00000000 0x00000000 
  0xf0: 0x00000000 0x00000000 0x00000000 0x00000000 
fwohci0: <Ricoh R5C552> mem 0xe8201000-0xe82017ff at device 5.2 on pci2
fwohci0: Reserved 0x800 bytes for rid 0x10 type 3 at 0xe8201000
pcib2: matched entry for 2.5.INTC (src \\_SB_.LNKH:0)
pci_link7: Picked IRQ 9 with weight 13
pcib2: slot 5 INTC routed to irq 9 via \\_SB_.LNKH
fwohci0: [MPSAFE]
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 08:00:46:03:01:49:71:0b
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
fxp0: <Intel 82801CAM (ICH3) Pro/100 VE Ethernet> port 0x4000-0x403f mem 0xe8200000-0xe8200fff irq 9 at device 8.0 on pci2
fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xe8200000
fxp0: using memory space register mapping
fxp0: PCI IDs: 8086 1031 104d 813c 0042
fxp0: Dynamic Standby mode is disabled
miibus0: <MII bus> on fxp0
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 08:00:46:80:50:11
fxp0: [MPSAFE]
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f mem 0xe8000000-0xe80003ff at device 31.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1860
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ata0: [MPSAFE]
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=51 ostat1=00
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata1: reset tp2 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>
ata1: [MPSAFE]
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pcm0: <Intel ICH3 (82801CA)> port 0x1c00-0x1cff,0x18c0-0x18ff irq 9 at device 31.5 on pci0
pcm0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x1c00
pcm0: Reserved 0x40 bytes for rid 0x14 type 4 at 0x18c0
pcm0: [GIANT-LOCKED]
pcm0: <Yamaha YMF753 AC97 Codec (id = 0x594d4803)>
pcm0: Codec features 18 bit DAC, 5 bit master volume, no 3D Stereo Enhancement
pcm0: Primary codec extended features reserved 1, AMAP, reserved 4
pcm0: ac97 codec dac ready count: 0
pcm0: sndbuf_setmap 1f144000, 4000; 0xd994b000 -> 1f144000
pcm0: sndbuf_setmap 1f140000, 4000; 0xd994f000 -> 1f140000
pci0: <simple comms, generic modem> at device 31.6 (no driver attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
atkbd0: [GIANT-LOCKED]
psm0: unable to allocate IRQ
psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
psm0: current command byte:0047
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000008, packet size:3
psm0: syncmask:c0, syncbits:00
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <ECP parallel printer port> port 0x378-0x37f,0x778-0x77f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/15 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
acpi_sony0: <Sony notebook controller> on acpi0
acpi_sony0: PID 0
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_ec0: info: new max delay is 100 us
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it
atkbdc: atkbdc0 already exists; skipping it
ppc: ppc0 already exists; skipping it
pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
pnp_identify: Trying Read_Port at 3c3
PNP Identify complete
sc: sc0 already exists; skipping it
vga: vga0 already exists; skipping it
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xcffff,0xd8000-0xdbfff,0xdc000-0xdffff pnpid ORM0000 on isa0
adv0: not probed (disabled)
aha0: not probed (disabled)
aic0: not probed (disabled)
bt0: not probed (disabled)
cs0: not probed (disabled)
ed0: not probed (disabled)
fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0 failed to probe at port 0x3f8 irq 4 on isa0
sio1 failed to probe at port 0x2f8 irq 3 on isa0
sio2: not probed (disabled)
sio3: not probed (disabled)
sn0: not probed (disabled)
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
vt0: not probed (disabled)
isa_probe_children: probing PnP devices
ums0: Microsoft Microsoft IntelliMouse\M-. Explorer, rev 1.10/1.21, addr 2, iclass 3/1
ums0: 5 buttons and Z dir.
ukbd0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 2, iclass 3/1
kbd: new array size 4
kbd1 at ukbd0
kbd1: ukbd0, generic (0), config:0x0, flags:0x1d0000
uhid0: Logitech Logitech USB Keyboard, rev 1.10/12.10, addr 2, iclass 3/1
Device configuration finished.
procfs registered
Timecounter "TSC" frequency 2395758980 Hz quality 800
Timecounters tick every 1.000 msec
battery0: battery initialization start
battery1: battery initialization start
acpi_acad0: acline initialization start
acpi_acad0: On Line
acpi_acad0: acline initialization done, tried 1 times
battery0: battery initialization done, tried 1 times
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire
ad0: setting PIO4 on Intel ICH3 chip
ad0: setting UDMA100 on Intel ICH3 chip
ad0: 28615MB <FUJITSU MHR2030AT 40BA> at ata0-master UDMA100
ad0: 58605120 sectors [58140C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad0
ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA16 cable=40 wire
acd0: setting PIO4 on Intel ICH3 chip
acd0: <SONY CD-RW/DVD-ROM CRX810E/1.5a> CDRW drive at ata1 as master
acd0: read 4134KB/s (4134KB/s) write 2755KB/s (2755KB/s), 8192KB buffer, PIO4
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, packet
acd0: Writes: CDR, CDRW, test write, burnproof
acd0: Audio: play, 256 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc
pcm0: measured ac97 link rate at 48007 Hz, will use 48000 Hz
pcib2: cardbus0 requested memory range 0xe8200000-0xe82fffff: good
pcib2: cardbus0 requested memory range 0xe8200000-0xe82fffff: good
found->	vendor=0x14e4, dev=0x4320, revid=0x03
	bus=3, slot=0, func=0
	class=02-80-00, hdrtype=0x00, mfdev=0
	cmdreg=0x0000, statreg=0x0000, cachelnsz=0 (dwords)
	lattimer=0xa8 (5040 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
	intpin=a, irq=9
cardbus0: <network> at device 0.0 (no driver attached)
(probe2:sbp0:0:2:0): error 22
(probe2:sbp0:0:2:0): Unretryable Error
(probe3:sbp0:0:3:0): error 22
(probe3:sbp0:0:3:0): Unretryable Error
(probe4:sbp0:0:4:0): error 22
(probe4:sbp0:0:4:0): Unretryable Error
(probe6:sbp0:0:6:0): error 22
(probe6:sbp0:0:6:0): Unretryable Error
(probe0:sbp0:0:0:0): error 22
(probe0:sbp0:0:0:0): Unretryable Error
(probe1:sbp0:0:1:0): error 22
(probe1:sbp0:0:1:0): Unretryable Error
(probe5:sbp0:0:5:0): error 22
(probe5:sbp0:0:5:0): Unretryable Error
Trying to mount root from ufs:/dev/ad0s1a
start_init: trying /sbin/init
acpi_ec0: info: new max delay is 110 us
battery1: battery initialization failed, giving up
-------------- next part --------------
/*
  RSD PTR: OEM=PTLTD, ACPI_Rev=1.0x (0)
	RSDT=0x1fefa631, cksum=84
 */
/*
  RSDT: Length=48, Revision=1, Checksum=15,
	OEMID=SONY, OEM Table ID=B1, OEM Revision=0x20020910,
	Creator ID=PTL, Creator Revision=0x0
	Entries={ 0x1fefee7d, 0x1fefeef1, 0x1fefef19 }
 */
/*
  FACP: Length=116, Revision=1, Checksum=147,
	OEMID=SONY, OEM Table ID=B1, OEM Revision=0x20020910,
	Creator ID=PTL, Creator Revision=0x1000000
 	FACS=0x1fefffc0, DSDT=0x1fefa661
	INT_MODEL=PIC
	Preferred_PM_Profile=Unspecified (0)
	SCI_INT=9
	SMI_CMD=0xb2, ACPI_ENABLE=0xf0, ACPI_DISABLE=0xf1, S4BIOS_REQ=0x0
	PSTATE_CNT=0x80
	PM1a_EVT_BLK=0x1000-0x1003
	PM1a_CNT_BLK=0x1004-0x1005
	PM2_CNT_BLK=0x1020-0x1020
	PM_TMR_BLK=0x1008-0x100b
	GPE0_BLK=0x1028-0x102b
	GPE1_BLK=0x102c-0x102f, GPE1_BASE=16
	CST_CNT=0xf4
	P_LVL2_LAT=1 us, P_LVL3_LAT=1001 us
	FLUSH_SIZE=0, FLUSH_STRIDE=0
	DUTY_OFFSET=1, DUTY_WIDTH=3
	DAY_ALRM=13, MON_ALRM=0, CENTURY=50
	IAPC_BOOT_ARCH=
	Flags={WBINVD,PWR_BUTTON,SLP_BUTTON,RTC_S4}
 */
/*
  FACS:	Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000
	Global_Lock=
	Flags=
	Version=0
 */
/*
  DSDT: Length=18460, Revision=1, Checksum=135,
	OEMID=SONY, OEM Table ID=B1, OEM Revision=0x20020910,
	Creator ID=PTL, Creator Revision=0x100000d
 */
/*
  BOOT: Length=40, Revision=1, Checksum=100,
	OEMID=SONY, OEM Table ID=B1, OEM Revision=0x20020910,
	Creator ID=PTL, Creator Revision=0x1
 */
/*
  SSDT: Length=231, Revision=1, Checksum=25,
	OEMID=SONY, OEM Table ID=B1, OEM Revision=0x20020910,
	Creator ID=PTL, Creator Revision=0x1
 */
/*
 * Intel ACPI Component Architecture
 * AML Disassembler version 20041119
 *
 * Disassembly of /tmp/acpidump.q2PZ65, Mon Oct  3 21:04:04 2005
 */
DefinitionBlock ("DSDT.aml", "DSDT", 1, "SONY", "B1", 537004304)
{
    Scope (_PR)
    {
        Processor (CPU0, 0x00, 0x00001010, 0x06) {}
        Scope (\_PR.CPU0)
        {
            Method (_CST, 0, NotSerialized)
            {
                Store (And (\_SB.CSTI, 0x03), Local0)
                If (LEqual (Local0, 0x01))
                {
                    If (\_SB.PCI0.LPC0.EC0.ACAT)
                    {
                        Return (ACST)
                    }
                    Else
                    {
                        Return (DCST)
                    }
                }
                Else
                {
                    If (LEqual (Local0, 0x02))
                    {
                        Return (DCST)
                    }
                    Else
                    {
                        Return (ACST)
                    }
                }
            }
        }
    }

    Name (_S0, Package (0x02)
    {
        0x00, 
        0x00
    })
    Name (_S3, Package (0x02)
    {
        0x05, 
        0x05
    })
    Name (_S4, Package (0x02)
    {
        0x06, 
        0x06
    })
    Name (_S5, Package (0x02)
    {
        0x07, 
        0x07
    })
    Scope (\_GPE)
    {
        Mutex (GLOK, 0x00)
        Method (_L03, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB1, 0x02)
        }

        Method (_L04, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB2, 0x02)
        }

        Method (_L05, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.MODE, 0x02)
        }

        Method (_L0C, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.USB3, 0x02)
        }

        Method (_L0B, 0, NotSerialized)
        {
            If (LEqual (\_SB.TOOS, 0x04))
            {
                Acquire (GLOK, 0xFFFF)
                Sleep (0x64)
                Notify (\_SB.PCI0.HUB.CRD0, 0x02)
                Sleep (0x64)
                Notify (\_SB.PCI0.HUB.CRD1, 0x02)
                Sleep (0x64)
                Release (GLOK)
            }
            Else
            {
                Notify (\_SB.PCI0.HUB, 0x02)
            }
        }

        Method (_L1D, 0, NotSerialized)
        {
            Notify (\_SB.PCI0.LPC0.EC0, 0x02)
        }
    }

    OperationRegion (SMI0, SystemMemory, 0x1FEFFAF8, 0x00000415)
    Field (SMI0, AnyAcc, NoLock, Preserve)
    {
        BCMD,   8, 
        DID,    32, 
        INFO,   4096
    }

    Field (SMI0, AnyAcc, NoLock, Preserve)
    {
        Offset (0x05), 
        INFB,   8
    }

    Field (SMI0, AnyAcc, NoLock, Preserve)
    {
        Offset (0x05), 
        INFD,   32
    }

    Field (SMI0, AnyAcc, NoLock, Preserve)
    {
        Offset (0x05), 
        SXBF,   8320
    }

    Field (SMI0, AnyAcc, NoLock, Preserve)
    {
        Offset (0x05), 
        INF1,   8, 
        INF2,   8
    }

    OperationRegion (SMI1, SystemIO, 0x0000FE00, 0x00000002)
    Field (SMI1, AnyAcc, NoLock, Preserve)
    {
        SMIC,   8
    }

    Mutex (MPHS, 0x00)
    Method (PHS0, 1, NotSerialized)
    {
        Store (Arg0, BCMD)
        Store (Zero, SMIC)
        While (LEqual (BCMD, Arg0)) {}
        Store (0x00, BCMD)
    }

    Method (PHS, 1, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (0x00, DID)
        PHS0 (Arg0)
        Store (INFD, Local0)
        Release (MPHS)
        Return (Local0)
    }

    Method (PHSD, 2, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (0x00, DID)
        Store (Arg1, INFD)
        PHS0 (Arg0)
        Store (INFD, Local0)
        Release (MPHS)
        Return (Local0)
    }

    Method (PHSW, 3, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (0x00, DID)
        Store (Arg1, INF1)
        Store (Arg2, INF2)
        PHS0 (Arg0)
        Store (INFB, Local0)
        Release (MPHS)
        Return (Local0)
    }

    Method (PHSB, 2, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (0x00, DID)
        Store (Arg1, INFB)
        PHS0 (Arg0)
        Store (INFB, Local0)
        Release (MPHS)
        Return (Local0)
    }

    Method (PSCS, 1, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (Arg0, DID)
        PHS0 (0x00)
        Store (INFO, Local0)
        Release (MPHS)
        Return (Local0)
    }

    Method (PSSS, 2, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (Arg0, DID)
        Store (Arg1, INFO)
        PHS0 (0x01)
        Release (MPHS)
    }

    Method (PSPS, 1, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (Arg0, DID)
        PHS0 (0x02)
        Store (INFO, Local0)
        Release (MPHS)
        Return (Local0)
    }

    Method (PSDI, 1, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (Arg0, DID)
        PHS0 (0x03)
        Release (MPHS)
    }

    Method (PSST, 1, Serialized)
    {
        Acquire (MPHS, 0xFFFF)
        Store (Arg0, DID)
        PHS0 (0x04)
        Store (INFB, Local0)
        Release (MPHS)
        Return (Local0)
    }

    Scope (_SB)
    {
        OperationRegion (DBUG, SystemIO, 0x80, 0x01)
        Field (DBUG, ByteAcc, NoLock, Preserve)
        {
            DBGP,   8
        }

        Name (TOOS, 0x00)
        Name (CSTI, 0x01)
        Method (_INI, 0, NotSerialized)
        {
            Store (CKOS (), Local0)
            Store (Local0, TOOS)
            Store (PHS (0xE9), CSTI)
        }

        Device (LID)
        {
            Name (_HID, EisaId ("PNP0C0D"))
            Method (_LID, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                {
                    And (PHSB (0xD4, 0x82), 0x04, Local0)
                }
                Else
                {
                    Store (\_SB.PCI0.LPC0.EC0.LIDS, Local0)
                }

                Return (Local0)
            }
        }

        Device (PWRB)
        {
            Name (_HID, EisaId ("PNP0C0C"))
            Name (_PRW, Package (0x02)
            {
                0x1D, 
                0x05
            })
            Method (_STA, 0, NotSerialized)
            {
                Return (0x0F)
            }
        }

        Mutex (PLOK, 0x00)
        Method (NCPU, 0, NotSerialized)
        {
            Acquire (PLOK, 0xFFFF)
            Notify (\_PR.CPU0, 0x80)
            If (LEqual (And (CSTI, 0x03), 0x01))
            {
                Sleep (0x64)
                Notify (\_PR.CPU0, 0x81)
            }

            Release (PLOK)
        }

        Device (PCI0)
        {
            Name (_HID, EisaId ("PNP0A03"))
            Name (_ADR, 0x00)
            Name (_BBN, 0x00)
            Name (_PRT, Package (0x09)
            {
                Package (0x04)
                {
                    0x0001FFFF, 
                    0x00, 
                    LNKA, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x0001FFFF, 
                    0x01, 
                    LNKB, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x0001FFFF, 
                    0x02, 
                    LNKC, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x0001FFFF, 
                    0x03, 
                    LNKD, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x001DFFFF, 
                    0x00, 
                    LNKA, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x001DFFFF, 
                    0x01, 
                    LNKD, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x001DFFFF, 
                    0x02, 
                    LNKC, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x001DFFFF, 
                    0x03, 
                    LNKH, 
                    0x00
                }, 

                Package (0x04)
                {
                    0x001FFFFF, 
                    0x01, 
                    LNKB, 
                    0x00
                }
            })
            OperationRegion (HBUS, PCI_Config, 0x40, 0xC0)
            Field (HBUS, DWordAcc, NoLock, Preserve)
            {
                Offset (0x20), 
                DRB0,   8, 
                DRB1,   8, 
                DRB2,   8, 
                DRB3,   8, 
                DRB4,   8, 
                DRB5,   8, 
                DRB6,   8, 
                DRB7,   8, 
                Offset (0x50), 
                    ,   4, 
                PM0H,   2, 
                Offset (0x51), 
                PM1L,   2, 
                    ,   2, 
                PM1H,   2, 
                Offset (0x52), 
                PM2L,   2, 
                    ,   2, 
                PM2H,   2, 
                Offset (0x53), 
                PM3L,   2, 
                    ,   2, 
                PM3H,   2, 
                Offset (0x54), 
                PM4L,   2, 
                    ,   2, 
                PM4H,   2, 
                Offset (0x55), 
                PM5L,   2, 
                    ,   2, 
                PM5H,   2, 
                Offset (0x56), 
                PM6L,   2, 
                    ,   2, 
                PM6H,   2, 
                Offset (0x57), 
                FDHC,   8
            }

            Name (BUF0, ResourceTemplate ()
            {
                WordBusNumber (ResourceProducer, MinFixed, MaxFixed, PosDecode,
                    0x0000,
                    0x0000,
                    0x00FF,
                    0x0000,
                    0x0100, 0x00)
                DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x00000000,
                    0x00000000,
                    0x00000CF7,
                    0x00000000,
                    0x00000CF8, 0x00)
                IO (Decode16, 0x0CF8, 0x0CF8, 0x01, 0x08)
                DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDecode, EntireRange,
                    0x00000000,
                    0x00000D00,
                    0x0000FFFF,
                    0x00000000,
                    0x0000F300, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000A0000,
                    0x000BFFFF,
                    0x00000000,
                    0x00020000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000C0000,
                    0x000C3FFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000C4000,
                    0x000C7FFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000C8000,
                    0x000CBFFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000CC000,
                    0x000CFFFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000D0000,
                    0x000D3FFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000D4000,
                    0x000D7FFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000D8000,
                    0x000DBFFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000DC000,
                    0x000DFFFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000E0000,
                    0x000E3FFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000E4000,
                    0x000E7FFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000E8000,
                    0x000EBFFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000EC000,
                    0x000EFFFF,
                    0x00000000,
                    0x00004000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x000F0000,
                    0x000FFFFF,
                    0x00000000,
                    0x00010000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x00000000,
                    0xFEBFFFFF,
                    0x00000000,
                    0x00000000, 0x00)
                DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed, Cacheable, ReadWrite,
                    0x00000000,
                    0x00000000,
                    0x00000000,
                    0x00000000,
                    0x00000000, 0x00)
            })
            Method (_CRS, 0, Serialized)
            {
                If (PM1L)
                {
                    CreateDWordField (BUF0, 0x80, C0LN)
                    Store (Zero, C0LN)
                }

                If (LEqual (PM1L, 0x01))
                {
                    CreateBitField (BUF0, 0x0378, C0RW)
                    Store (Zero, C0RW)
                }

                If (PM1H)
                {
                    CreateDWordField (BUF0, 0x9B, C4LN)
                    Store (Zero, C4LN)
                }

                If (LEqual (PM1H, 0x01))
                {
                    CreateBitField (BUF0, 0x0450, C4RW)
                    Store (Zero, C4RW)
                }

                If (PM2L)
                {
                    CreateDWordField (BUF0, 0xB6, C8LN)
                    Store (Zero, C8LN)
                }

                If (LEqual (PM2L, 0x01))
                {
                    CreateBitField (BUF0, 0x0528, C8RW)
                    Store (Zero, C8RW)
                }

                If (PM2H)
                {
                    CreateDWordField (BUF0, 0xD1, CCLN)
                    Store (Zero, CCLN)
                }

                If (LEqual (PM2H, 0x01))
                {
                    CreateBitField (BUF0, 0x0600, CCRW)
                    Store (Zero, CCRW)
                }

                If (PM3L)
                {
                    CreateDWordField (BUF0, 0xEC, D0LN)
                    Store (Zero, D0LN)
                }

                If (LEqual (PM3L, 0x01))
                {
                    CreateBitField (BUF0, 0x06D8, D0RW)
                    Store (Zero, D0RW)
                }

                If (PM3H)
                {
                    CreateDWordField (BUF0, 0x0107, D4LN)
                    Store (Zero, D4LN)
                }

                If (LEqual (PM3H, 0x01))
                {
                    CreateBitField (BUF0, 0x07B0, D4RW)
                    Store (Zero, D4RW)
                }

                If (PM4L)
                {
                    CreateDWordField (BUF0, 0x0122, D8LN)
                    Store (Zero, D8LN)
                }

                If (LEqual (PM4L, 0x01))
                {
                    CreateBitField (BUF0, 0x0888, D8RW)
                    Store (Zero, D8RW)
                }

                If (PM4H)
                {
                    CreateDWordField (BUF0, 0x013D, DCLN)
                    Store (Zero, DCLN)
                }

                If (LEqual (PM4H, 0x01))
                {
                    CreateBitField (BUF0, 0x0960, DCRW)
                    Store (Zero, DCRW)
                }

                If (PM5L)
                {
                    CreateDWordField (BUF0, 0x0158, E0LN)
                    Store (Zero, E0LN)
                }

                If (LEqual (PM5L, 0x01))
                {
                    CreateBitField (BUF0, 0x0A38, E0RW)
                    Store (Zero, E0RW)
                }

                If (PM5H)
                {
                    CreateDWordField (BUF0, 0x0173, E4LN)
                    Store (Zero, E4LN)
                }

                If (LEqual (PM5H, 0x01))
                {
                    CreateBitField (BUF0, 0x0B10, E4RW)
                    Store (Zero, E4RW)
                }

                If (PM6L)
                {
                    CreateDWordField (BUF0, 0x018E, E8LN)
                    Store (Zero, E8LN)
                }

                If (LEqual (PM6L, 0x01))
                {
                    CreateBitField (BUF0, 0x0BE8, E8RW)
                    Store (Zero, E8RW)
                }

                If (PM6H)
                {
                    CreateDWordField (BUF0, 0x01A9, ECLN)
                    Store (Zero, ECLN)
                }

                If (LEqual (PM6H, 0x01))
                {
                    CreateBitField (BUF0, 0x0CC0, ECRW)
                    Store (Zero, ECRW)
                }

                If (PM0H)
                {
                    CreateDWordField (BUF0, 0x01C4, F0LN)
                    Store (Zero, F0LN)
                }

                If (LEqual (PM0H, 0x01))
                {
                    CreateBitField (BUF0, 0x0D98, F0RW)
                    Store (Zero, F0RW)
                }

                CreateDWordField (BUF0, 0x01D3, M1MN)
                CreateDWordField (BUF0, 0x01D7, M1MX)
                CreateDWordField (BUF0, 0x01DF, M1LN)
                Multiply (0x02000000, DRB7, M1MN)
                Add (Subtract (M1MX, M1MN), 0x01, M1LN)
                ShiftRight (And (\_SB.PCI0.LPC0.MTSE, 0x00038000), 0x0F, Local0)
                If (And (Local0, 0x04))
                {
                    CreateDWordField (BUF0, 0x01EE, M2MN)
                    CreateDWordField (BUF0, 0x01F2, M2MX)
                    CreateDWordField (BUF0, 0x01FA, M2LN)
                    Store (0xFED00000, M2MN)
                    Store (0xFED003FF, M2MX)
                    Store (0x0400, M2LN)
                    If (LEqual (Local0, 0x05))
                    {
                        Store (0xFED01000, M2MN)
                        Store (0xFED013FF, M2MX)
                    }

                    If (LEqual (Local0, 0x06))
                    {
                        Store (0xFED02000, M2MN)
                        Store (0xFED023FF, M2MX)
                    }

                    If (LEqual (Local0, 0x07))
                    {
                        Store (0xFED03000, M2MN)
                        Store (0xFED033FF, M2MX)
                    }
                }

                Return (BUF0)
            }

            Device (AGP)
            {
                Name (_ADR, 0x00010000)
                Name (_PRT, Package (0x01)
                {
                    Package (0x04)
                    {
                        0xFFFF, 
                        0x00, 
                        LNKA, 
                        0x00
                    }
                })
                Device (VID0)
                {
                    Name (_ADR, 0x00)
                    OperationRegion (VIDR, PCI_Config, 0x4C, 0x04)
                    Field (VIDR, ByteAcc, NoLock, Preserve)
                    {
                        SSID,   32
                    }

                    Method (_REG, 2, NotSerialized)
                    {
                        If (LEqual (Arg0, 0x02))
                        {
                            If (Arg1)
                            {
                                Store (0x813C104D, SSID)
                            }
                        }
                    }

                    Device (CRT)
                    {
                        Name (_ADR, 0x0100)
                    }

                    Device (LCD)
                    {
                        Name (_ADR, 0x0110)
                    }

                    Device (TV)
                    {
                        Name (_ADR, 0x0200)
                    }
                }
            }

            Device (USB1)
            {
                Name (_ADR, 0x001D0000)
                OperationRegion (USB1, PCI_Config, 0xC4, 0x04)
                Field (USB1, DWordAcc, NoLock, Preserve)
                {
                    RSEN,   2
                }

                Name (_PRW, Package (0x02)
                {
                    0x03, 
                    0x03
                })
                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, RSEN)
                    }
                    Else
                    {
                        Store (0x00, RSEN)
                    }
                }
            }

            Device (USB2)
            {
                Name (_ADR, 0x001D0001)
                OperationRegion (USB2, PCI_Config, 0xC4, 0x04)
                Field (USB2, DWordAcc, NoLock, Preserve)
                {
                    RSEN,   2
                }

                Name (_PRW, Package (0x02)
                {
                    0x04, 
                    0x03
                })
                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, RSEN)
                    }
                    Else
                    {
                        Store (0x00, RSEN)
                    }
                }
            }

            Device (USB3)
            {
                Name (_ADR, 0x001D0002)
                OperationRegion (USB3, PCI_Config, 0xC4, 0x04)
                Field (USB3, DWordAcc, NoLock, Preserve)
                {
                    RSEN,   2
                }

                Name (_PRW, Package (0x02)
                {
                    0x0C, 
                    0x03
                })
                Method (_PSW, 1, NotSerialized)
                {
                    If (Arg0)
                    {
                        Store (0x03, RSEN)
                    }
                    Else
                    {
                        Store (0x00, RSEN)
                    }
                }
            }

            Device (HUB)
            {
                Name (_ADR, 0x001E0000)
                Name (_PRT, Package (0x05)
                {
                    Package (0x04)
                    {
                        0x0002FFFF, 
                        0x00, 
                        LNKC, 
                        0x00
                    }, 

                    Package (0x04)
                    {
                        0x0005FFFF, 
                        0x00, 
                        LNKF, 
                        0x00
                    }, 

                    Package (0x04)
                    {
                        0x0005FFFF, 
                        0x01, 
                        LNKG, 
                        0x00
                    }, 

                    Package (0x04)
                    {
                        0x0005FFFF, 
                        0x02, 
                        LNKH, 
                        0x00
                    }, 

                    Package (0x04)
                    {
                        0x0008FFFF, 
                        0x00, 
                        LNKE, 
                        0x00
                    }
                })
                Device (CRD0)
                {
                    Name (_ADR, 0x00050000)
                    OperationRegion (CCRD, PCI_Config, 0x00, 0xE4)
                    Field (CCRD, DWordAcc, NoLock, Preserve)
                    {
                        Offset (0x04), 
                        CD04,   32, 
                        Offset (0x3E), 
                        CD3E,   32, 
                        Offset (0x44), 
                        CD44,   32, 
                        Offset (0xE0), 
                        CDE0,   8, 
                        CDE1,   8
                    }

                    Method (_INI, 0, NotSerialized)
                    {
                        Store (Zero, CD44)
                    }

                    Name (_PSC, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        Store (0x00, _PSC)
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Store (0x03, CDE0)
                        Store (0x03, _PSC)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }

                    Name (_PRW, Package (0x02)
                    {
                        0x0B, 
                        0x03
                    })
                }

                Device (CRD1)
                {
                    Name (_ADR, 0x00050001)
                    OperationRegion (CCRD, PCI_Config, 0x00, 0xE4)
                    Field (CCRD, DWordAcc, NoLock, Preserve)
                    {
                        Offset (0x04), 
                        CD04,   32, 
                        Offset (0x3E), 
                        CD3E,   32, 
                        Offset (0x44), 
                        CD44,   32, 
                        Offset (0xE0), 
                        CDE0,   8, 
                        CDE1,   8
                    }

                    Method (_INI, 0, NotSerialized)
                    {
                        Store (Zero, CD44)
                    }

                    Name (_PSC, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        Store (0x00, _PSC)
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Store (0x03, CDE0)
                        Store (0x03, _PSC)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }

                    Name (_PRW, Package (0x02)
                    {
                        0x0B, 
                        0x03
                    })
                }

                Device (SD94)
                {
                    Name (_ADR, 0x00050002)
                }

                Device (LAN)
                {
                    Name (_ADR, 0x00080000)
                    Name (_PRW, Package (0x02)
                    {
                        0x0B, 
                        0x03
                    })
                }
            }

            Device (LPC0)
            {
                Name (_ADR, 0x001F0000)
                OperationRegion (LPC0, PCI_Config, 0x40, 0xC0)
                Field (LPC0, AnyAcc, NoLock, Preserve)
                {
                    Offset (0x20), 
                    PIRA,   8, 
                    PIRB,   8, 
                    PIRC,   8, 
                    PIRD,   8, 
                    Offset (0x28), 
                    PIRE,   8, 
                    PIRF,   8, 
                    PIRG,   8, 
                    PIRH,   8, 
                    Offset (0x60), 
                        ,   7, 
                    C4C3,   1, 
                    Offset (0x90), 
                    MTSE,   32
                }

                OperationRegion (LPCR, PCI_Config, 0x00, 0xF2)
                Field (LPCR, ByteAcc, NoLock, Preserve)
                {
                    Offset (0xC4), 
                    MON4,   16, 
                    MON5,   16
                }

                OperationRegion (GPIO, SystemIO, 0x1180, 0x2C)
                Field (GPIO, ByteAcc, NoLock, Preserve)
                {
                    Offset (0x0F), 
                        ,   1, 
                    GP25,   1
                }

                OperationRegion (REGS, PCI_Config, 0x40, 0xC0)
                Field (REGS, DWordAcc, NoLock, Preserve)
                {
                    PMBA,   16, 
                    Offset (0x18), 
                    GPBA,   16, 
                    Offset (0xB0), 
                        ,   5, 
                    FUND,   2
                }

                Device (MBRD)
                {
                    Name (_HID, EisaId ("PNP0C02"))
                    Name (_UID, 0x1F)
                    Name (RSRC, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0010, 0x0010, 0x01, 0x10)
                        IO (Decode16, 0x0024, 0x0024, 0x01, 0x02)
                        IO (Decode16, 0x0028, 0x0028, 0x01, 0x02)
                        IO (Decode16, 0x002C, 0x002C, 0x01, 0x02)
                        IO (Decode16, 0x0030, 0x0030, 0x01, 0x02)
                        IO (Decode16, 0x0034, 0x0034, 0x01, 0x02)
                        IO (Decode16, 0x0038, 0x0038, 0x01, 0x02)
                        IO (Decode16, 0x003C, 0x003C, 0x01, 0x02)
                        IO (Decode16, 0x0050, 0x0050, 0x01, 0x04)
                        IO (Decode16, 0x0072, 0x0072, 0x01, 0x06)
                        IO (Decode16, 0x0080, 0x0080, 0x01, 0x01)
                        IO (Decode16, 0x0090, 0x0090, 0x01, 0x10)
                        IO (Decode16, 0x00A4, 0x00A4, 0x01, 0x02)
                        IO (Decode16, 0x00A8, 0x00A8, 0x01, 0x02)
                        IO (Decode16, 0x00AC, 0x00AC, 0x01, 0x02)
                        IO (Decode16, 0x00B0, 0x00B0, 0x01, 0x06)
                        IO (Decode16, 0x00B8, 0x00B8, 0x01, 0x02)
                        IO (Decode16, 0x00BC, 0x00BC, 0x01, 0x02)
                        IO (Decode16, 0x1000, 0x1000, 0x01, 0x80)
                        IO (Decode16, 0x1180, 0x1180, 0x01, 0x40)
                        IO (Decode16, 0x002E, 0x002E, 0x01, 0x02)
                        IO (Decode16, 0x004E, 0x004E, 0x01, 0x02)
                        IO (Decode16, 0x0600, 0x0600, 0x01, 0x10)
                        IO (Decode16, 0x04D0, 0x04D0, 0x01, 0x02)
                        IO (Decode16, 0xFE00, 0xFE00, 0x01, 0x02)
                        IO (Decode16, 0xFE10, 0xFE10, 0x01, 0x08)
                        Memory32Fixed (ReadWrite, 0xFEBFFC00, 0x00000400)
                        Memory32Fixed (ReadOnly, 0xFF800000, 0x00800000)
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateWordField (RSRC, 0x92, PMMN)
                        CreateWordField (RSRC, 0x94, PMMX)
                        CreateWordField (RSRC, 0x9A, GPMN)
                        CreateWordField (RSRC, 0x9C, GPMX)
                        CreateWordField (RSRC, 0xC2, PHMN)
                        CreateWordField (RSRC, 0xC4, PHMX)
                        And (^^PMBA, 0xFF80, PMMN)
                        Store (PMMN, PMMX)
                        And (^^GPBA, 0xFF80, GPMN)
                        Store (GPMN, GPMX)
                        Return (RSRC)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (DMAC)
                {
                    Name (_HID, EisaId ("PNP0200"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0000, 0x0000, 0x01, 0x10)
                        IO (Decode16, 0x0081, 0x0081, 0x01, 0x0F)
                        IO (Decode16, 0x00C0, 0x00C0, 0x01, 0x20)
                        DMA (Compatibility, NotBusMaster, Transfer16) {4}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (MATH)
                {
                    Name (_HID, EisaId ("PNP0C04"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x00F0, 0x00F0, 0x01, 0x10)
                        IRQNoFlags () {13}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (PIC)
                {
                    Name (_HID, EisaId ("PNP0000"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0020, 0x0020, 0x01, 0x02)
                        IO (Decode16, 0x00A0, 0x00A0, 0x01, 0x02)
                        IRQNoFlags () {2}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (RTC)
                {
                    Name (_HID, EisaId ("PNP0B00"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0070, 0x0070, 0x01, 0x02)
                        IRQNoFlags () {8}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (SPKR)
                {
                    Name (_HID, EisaId ("PNP0800"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0061, 0x0061, 0x01, 0x01)
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (TMR)
                {
                    Name (_HID, EisaId ("PNP0100"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0040, 0x0040, 0x01, 0x04)
                        IRQNoFlags () {0}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (KBC)
                {
                    Name (_HID, EisaId ("PNP0303"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0060, 0x0060, 0x01, 0x01)
                        IO (Decode16, 0x0064, 0x0064, 0x01, 0x01)
                        IRQNoFlags () {1}
                    })
                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }
                }

                Device (MOUE)
                {
                    Name (_HID, EisaId ("SNY9003"))
                    Name (_CID, 0x130FD041)
                    Name (_CRS, ResourceTemplate ()
                    {
                        IRQNoFlags () {12}
                    })
                }

                Device (EC0)
                {
                    Name (_HID, EisaId ("PNP0C09"))
                    Name (_CRS, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0062, 0x0062, 0x01, 0x01)
                        IO (Decode16, 0x0066, 0x0066, 0x01, 0x01)
                    })
                    Name (_GPE, 0x1C)
                    Name (ECOK, 0x00)
                    Method (_REG, 2, NotSerialized)
                    {
                        If (LEqual (Arg0, 0x03))
                        {
                            Store (Arg1, ECOK)
                        }
                    }

                    Name (_PRW, Package (0x02)
                    {
                        0x1D, 
                        0x05
                    })
                    OperationRegion (ECR, EmbeddedControl, 0x00, 0xFF)
                    Field (ECR, AnyAcc, Lock, Preserve)
                    {
                        Offset (0x80), 
                        MPBP,   1, 
                        MPBD,   1, 
                        DOKD,   1, 
                        DFBP,   1, 
                        Offset (0x81), 
                        BT1A,   1, 
                        BT2A,   1, 
                        ACAT,   1, 
                        Offset (0x82), 
                        PWRB,   1, 
                        JOGB,   1, 
                        LIDS,   1, 
                        Offset (0x83), 
                        BT1P,   1, 
                        BT2P,   1, 
                        Offset (0x84), 
                        B1ST,   8, 
                        B2ST,   8, 
                        Offset (0x90), 
                        MASK,   8, 
                        BT1S,   1, 
                        BT2S,   1, 
                        Offset (0x92), 
                        BT1W,   1, 
                        BT2W,   1, 
                        Offset (0x93), 
                        FAN0,   8, 
                        CB0S,   1, 
                        CB1S,   1, 
                        Offset (0x95), 
                        PHYO,   1, 
                        Offset (0x96), 
                        BRIT,   8, 
                        CONT,   8, 
                        SNDU,   1, 
                        SNDD,   1, 
                        Offset (0x99), 
                        SMDM,   1, 
                        Offset (0x9A), 
                        Offset (0x9B), 
                        SIRQ,   8, 
                        SLOB,   8, 
                        SHIB,   8, 
                        MPWR,   1, 
                        WAKI,   1, 
                        Offset (0x9F), 
                        Offset (0xA0), 
                        B1RC,   16, 
                        B1AB,   16, 
                        B1AC,   16, 
                        B1VO,   16, 
                        B2RC,   16, 
                        B2AB,   16, 
                        B2AC,   16, 
                        B2VO,   16, 
                        B1DC,   16, 
                        B1LF,   16, 
                        B1DV,   16, 
                        B1DL,   16, 
                        B2DC,   16, 
                        B2LF,   16, 
                        B2DV,   16, 
                        B2DL,   16, 
                        A1TP,   16, 
                        A1AT,   16, 
                        A1PT,   16, 
                        A1CT,   16, 
                        A2TP,   16, 
                        A2AT,   16, 
                        A2PT,   16, 
                        A2CT,   16
                    }

                    Method (_Q50, 0, NotSerialized)
                    {
                        PHS (0xA1)
                        Notify (ACAD, 0x80)
                        \_SB.NCPU ()
                    }

                    Method (_Q51, 0, NotSerialized)
                    {
                        If (BT1A)
                        {
                            Notify (BAT1, 0x00)
                        }
                        Else
                        {
                            Notify (BAT1, 0x01)
                        }

                        Notify (BAT1, 0x80)
                    }

                    Method (_Q52, 0, NotSerialized)
                    {
                        If (BT2A)
                        {
                            Notify (BAT2, 0x00)
                        }
                        Else
                        {
                            Notify (BAT2, 0x01)
                        }

                        Notify (BAT2, 0x80)
                    }

                    Method (_Q53, 0, NotSerialized)
                    {
                        Store ("_Q53:Battery Selection", Debug)
                    }

                    Method (_Q58, 0, NotSerialized)
                    {
                        Store ("_Q58:ATF temperature trip point changd", Debug)
                        Notify (\_TZ.ATF0, 0x81)
                    }

                    Method (_Q5F, 0, NotSerialized)
                    {
                        Store ("_Q5F:ATF temperature reaches trip point", Debug)
                        Notify (\_TZ.ATF0, 0x80)
                    }

                    Method (_Q60, 0, NotSerialized)
                    {
                        Notify (\_SB.PWRB, 0x80)
                    }

                    Method (_Q61, 0, NotSerialized)
                    {
                        Store (Zero, \_SB.PCI0.IDEC.SECD.EFLG)
                        Sleep (0x01F4)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            PHSW (0xD5, 0x9E, 0x01)
                        }
                        Else
                        {
                            Store (0x01, \_SB.PCI0.LPC0.EC0.MPWR)
                        }

                        Sleep (0x01F4)
                        And (\_SB.PCI0.IDEC.ICR4, 0x03, \_SB.PCI0.IDEC.ICR4)
                        Notify (\_SB.PCI0.IDEC.SECD.S_D0, 0x01)
                    }

                    Method (_Q62, 0, NotSerialized)
                    {
                        If (LEqual (\_SB.PCI0.IDEC.SECD.EFLG, Zero))
                        {
                            \_SB.PCI0.IDEC.SECD.EMPB ()
                        }

                        If (LEqual (\_SB.TOOS, 0x00))
                        {
                            Store (One, \_SB.PCI0.IDEC.TIM0)
                        }

                        Notify (\_SB.PCI0.IDEC.SECD.S_D0, 0x01)
                    }

                    Method (_Q66, 0, NotSerialized)
                    {
                        Notify (\_SB.LID, 0x80)
                    }

                    Device (BAT1)
                    {
                        Name (_HID, EisaId ("PNP0C0A"))
                        Name (_UID, 0x01)
                        Name (_PCL, Package (0x01)
                        {
                            \_SB
                        })
                        Name (BATI, Package (0x0D)
                        {
                            0x00, 
                            0x9650, 
                            0x9650, 
                            0x00, 
                            0x39D0, 
                            0x00, 
                            0x78, 
                            0x00, 
                            0x0A, 
                            "", 
                            "", 
                            "LION", 
                            "Sony Corp."
                        })
                        Name (BATS, Package (0x04)
                        {
                            0x02, 
                            0xFFFFFFFF, 
                            0x0D7A, 
                            0x3840
                        })
                        Method (_STA, 0, NotSerialized)
                        {
                            If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                            {
                                And (PHSD (0xD4, 0x80), 0x0100, Local1)
                            }
                            Else
                            {
                                Store (BT1A, Local1)
                            }

                            If (Local1)
                            {
                                Store (0x1F, Local0)
                            }
                            Else
                            {
                                Store (0x0F, Local0)
                            }

                            Return (Local0)
                        }

                        Method (_BIF, 0, NotSerialized)
                        {
                            If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                            {
                                Store (PHSD (0xD4, 0xB0), Local0)
                                Store (PHSD (0xD4, 0xB2), Local1)
                                Store (PHSD (0xD4, 0xB6), Local2)
                            }
                            Else
                            {
                                Store (B1DC, Local0)
                                Store (B1LF, Local1)
                                Store (B1DV, Local2)
                            }

                            Multiply (Local0, 0x0A, Index (BATI, 0x01))
                            Multiply (Local1, 0x0A, Index (BATI, 0x02))
                            Store (Local2, Index (BATI, 0x04))
                            Return (BATI)
                        }

                        Method (_BST, 0, NotSerialized)
                        {
                            If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                            {
                                Store (And (PHSD (0xD4, 0x84), 0xFF, Local0), Index (BATS, 0x00))
                                Store (PHSD (0xD4, 0xA6), Local0)
                                Store (PHSD (0xD4, 0xA4), Local1)
                                Store (PHSD (0xD4, 0xA2), Local2)
                            }
                            Else
                            {
                                Store (B1ST, Index (BATS, 0x00))
                                Store (B1VO, Local0)
                                Store (B1AC, Local1)
                                Store (B1AB, Local2)
                            }

                            If (LEqual (Local1, 0xFFFF))
                            {
                                Store (0xFFFFFFFF, Local1)
                            }
                            Else
                            {
                                If (LNot (LLess (Local1, 0x8000)))
                                {
                                    XOr (Local1, 0xFFFF, Local1)
                                    Increment (Local1)
                                }

                                Multiply (Local0, Local1, Local1)
                                Divide (Local1, 0x03E8, , Local1)
                            }

                            Store (Local1, Index (BATS, 0x01))
                            Multiply (Local2, 0x0A, Index (BATS, 0x02))
                            Store (Local0, Index (BATS, 0x03))
                            Return (BATS)
                        }
                    }

                    Device (BAT2)
                    {
                        Name (_HID, EisaId ("PNP0C0A"))
                        Name (_UID, 0x02)
                        Name (_PCL, Package (0x01)
                        {
                            \_SB
                        })
                        Name (BATI, Package (0x0D)
                        {
                            0x00, 
                            0x9650, 
                            0x9650, 
                            0x00, 
                            0x39D0, 
                            0x00, 
                            0x78, 
                            0x00, 
                            0x0A, 
                            "", 
                            "", 
                            "LION", 
                            "Sony Corp."
                        })
                        Name (BATS, Package (0x04)
                        {
                            0x02, 
                            0xFFFFFFFF, 
                            0x0D7A, 
                            0x3840
                        })
                        Method (_STA, 0, NotSerialized)
                        {
                            If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                            {
                                And (PHSD (0xD4, 0x80), 0x0200, Local1)
                            }
                            Else
                            {
                                Store (BT2A, Local1)
                            }

                            If (Local1)
                            {
                                Store (0x1F, Local0)
                            }
                            Else
                            {
                                Store (0x0F, Local0)
                            }

                            Return (Local0)
                        }

                        Method (_BIF, 0, NotSerialized)
                        {
                            If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                            {
                                Store (PHSD (0xD4, 0xB8), Local0)
                                Store (PHSD (0xD4, 0xBA), Local1)
                                Store (PHSD (0xD4, 0xBC), Local2)
                            }
                            Else
                            {
                                Store (B2DC, Local0)
                                Store (B2LF, Local1)
                                Store (B2DV, Local2)
                            }

                            Multiply (Local0, 0x0A, Index (BATI, 0x01))
                            Multiply (Local1, 0x0A, Index (BATI, 0x02))
                            Store (Local2, Index (BATI, 0x04))
                            Return (BATI)
                        }

                        Method (_BST, 0, NotSerialized)
                        {
                            If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                            {
                                Store (ShiftRight (PHSD (0xD4, 0x84), 0x08, Local0), Index (BATS, 0x00))
                                Store (PHSD (0xD4, 0xAE), Local0)
                                Store (PHSD (0xD4, 0xAC), Local1)
                                Store (PHSD (0xD4, 0xAA), Local2)
                            }
                            Else
                            {
                                Store (B2ST, Index (BATS, 0x00))
                                Store (B2VO, Local0)
                                Store (B2AC, Local1)
                                Store (B2AB, Local2)
                            }

                            If (LEqual (Local1, 0xFFFF))
                            {
                                Store (0xFFFFFFFF, Local1)
                            }
                            Else
                            {
                                If (LNot (LLess (Local1, 0x8000)))
                                {
                                    XOr (Local1, 0xFFFF, Local1)
                                    Increment (Local1)
                                }

                                Multiply (Local0, Local1, Local1)
                                Divide (Local1, 0x03E8, , Local1)
                            }

                            Store (Local1, Index (BATS, 0x01))
                            Multiply (Local2, 0x0A, Index (BATS, 0x02))
                            Store (Local0, Index (BATS, 0x03))
                            Return (BATS)
                        }
                    }

                    Device (ACAD)
                    {
                        Name (_HID, "ACPI0003")
                        Name (_PCL, Package (0x01)
                        {
                            \_SB
                        })
                        Method (_PSR, 0, NotSerialized)
                        {
                            If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                            {
                                And (PHSD (0xD4, 0x80), 0x0400, Local1)
                            }
                            Else
                            {
                                Store (ACAT, Local1)
                            }

                            If (Local1)
                            {
                                Return (One)
                            }
                            Else
                            {
                                Return (Zero)
                            }
                        }

                        Method (_STA, 0, NotSerialized)
                        {
                            Return (0x0F)
                        }
                    }
                }

                Mutex (SLOK, 0x00)
                OperationRegion (SMC1, SystemIO, 0x2E, 0x02)
                Field (SMC1, ByteAcc, NoLock, Preserve)
                {
                    INDX,   8, 
                    DATA,   8
                }

                IndexField (INDX, DATA, ByteAcc, NoLock, Preserve)
                {
                    CR00,   8, 
                    CR01,   8, 
                    CR02,   8, 
                    Offset (0x05), 
                    CR05,   8, 
                    Offset (0x07), 
                    CR07,   8, 
                    Offset (0x23), 
                    CR23,   8, 
                    Offset (0x26), 
                    PPDM,   4, 
                    Offset (0x27), 
                    PPIR,   4, 
                    Offset (0x30), 
                    RRBA,   8, 
                    Offset (0x33), 
                    DIR2,   8, 
                    POL2,   8
                }

                OperationRegion (RRBL, SystemIO, 0x060F, 0x01)
                Field (RRBL, ByteAcc, NoLock, Preserve)
                {
                        ,   7, 
                    GP47,   1
                }

                Method (ENCF, 0, NotSerialized)
                {
                    Store (0x55, INDX)
                }

                Method (EXCF, 0, NotSerialized)
                {
                    Store (0xAA, INDX)
                }

                Device (COMA)
                {
                    Name (_HID, EisaId ("PNP0501"))
                    Name (MCD, 0x11)
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (\_SB.PCI0.LPC0.COMA._STA ())
                        {
                            Acquire (SLOK, 0xFFFF)
                            Store (PSCS (0x11), Local0)
                            Release (SLOK)
                            Return (Local0)
                        }
                        Else
                        {
                            Return (ResourceTemplate ()
                            {
                            })
                        }
                    }

                    Method (B_SR, 1, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        PSSS (0x11, Arg0)
                        Release (SLOK)
                    }

                    Method (B_PR, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSPS (0x11), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Method (B_DI, 0, NotSerialized)
                    {
                        Store (0x00, GP47)
                        Acquire (SLOK, 0xFFFF)
                        PSDI (0x11)
                        Release (SLOK)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSST (0x11), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Name (_PSC, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        Store (0x01, GP47)
                        Sleep (0x01)
                        Or (CR02, 0x08, CR02)
                        Store (0x00, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        Store (0x00, GP47)
                        And (CR02, 0xF7, CR02)
                        Store (0x03, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }

                    Name (_PRW, Package (0x02)
                    {
                        0x08, 
                        0x03
                    })
                }

                Device (LPTA)
                {
                    Name (_HID, EisaId ("PNP0400"))
                    Name (_UID, 0x01)
                    Name (MCD, 0x12)
                    Name (CRSB, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0000, 0x0000, 0x01, 0x08)
                        IRQNoFlags () {}
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (\_SB.PCI0.LPC0.LPTA._STA ())
                        {
                            CreateWordField (CRSB, 0x02, IO1B)
                            CreateWordField (CRSB, 0x04, IO2B)
                            CreateByteField (CRSB, 0x07, IO3B)
                            CreateWordField (CRSB, 0x09, IRQB)
                            Acquire (SLOK, 0xFFFF)
                            ENCF ()
                            ShiftLeft (CR23, 0x02, IO1B)
                            Store (IO1B, IO2B)
                            Store (Zero, IRQB)
                            If (PPIR)
                            {
                                ShiftLeft (0x01, PPIR, IRQB)
                            }

                            If (LEqual (IO1B, 0x03BC))
                            {
                                Store (0x03, IO3B)
                            }

                            EXCF ()
                            Release (SLOK)
                            Return (CRSB)
                        }
                        Else
                        {
                            Return (ResourceTemplate ()
                            {
                            })
                        }
                    }

                    Method (B_SR, 1, NotSerialized)
                    {
                        CreateWordField (Arg0, 0x02, IO1S)
                        CreateWordField (Arg0, 0x09, IRQS)
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        ShiftRight (IO1S, 0x02, CR23)
                        FindSetRightBit (IRQS, Local0)
                        If (Local0)
                        {
                            Decrement (Local0)
                        }

                        Store (Local0, PPIR)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (B_PR, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSPS (0x12), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Method (B_DI, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        PSDI (0x12)
                        Release (SLOK)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSST (0x12), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Name (_PSC, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        Or (CR01, 0x04, CR01)
                        Store (0x00, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        And (CR01, 0xFB, CR01)
                        Store (0x03, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }
                }

                Device (LPTB)
                {
                    Name (_HID, EisaId ("PNP0400"))
                    Name (_UID, 0x02)
                    Name (MCD, 0x13)
                    Name (CRSB, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0000, 0x0000, 0x01, 0x08)
                        IRQNoFlags () {}
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (\_SB.PCI0.LPC0.LPTB._STA ())
                        {
                            CreateWordField (CRSB, 0x02, IO1B)
                            CreateWordField (CRSB, 0x04, IO2B)
                            CreateByteField (CRSB, 0x07, IO3B)
                            CreateWordField (CRSB, 0x09, IRQB)
                            Acquire (SLOK, 0xFFFF)
                            ENCF ()
                            ShiftLeft (CR23, 0x02, IO1B)
                            Store (IO1B, IO2B)
                            Store (Zero, IRQB)
                            If (PPIR)
                            {
                                ShiftLeft (0x01, PPIR, IRQB)
                            }

                            If (LEqual (IO1B, 0x03BC))
                            {
                                Store (0x03, IO3B)
                            }

                            EXCF ()
                            Release (SLOK)
                            Return (CRSB)
                        }
                        Else
                        {
                            Return (ResourceTemplate ()
                            {
                            })
                        }
                    }

                    Method (B_SR, 1, NotSerialized)
                    {
                        CreateWordField (Arg0, 0x02, IO1S)
                        CreateWordField (Arg0, 0x09, IRQS)
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        ShiftRight (IO1S, 0x02, CR23)
                        FindSetRightBit (IRQS, Local0)
                        If (Local0)
                        {
                            Decrement (Local0)
                        }

                        Store (Local0, PPIR)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (B_PR, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSPS (0x13), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Method (B_DI, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        PSDI (0x13)
                        Release (SLOK)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSST (0x13), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Name (_PSC, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        Or (CR01, 0x04, CR01)
                        Store (0x00, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        And (CR01, 0xFB, CR01)
                        Store (0x03, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }
                }

                Device (ECP)
                {
                    Name (_HID, EisaId ("PNP0401"))
                    Name (MCD, 0x14)
                    Name (CRSA, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0000, 0x0000, 0x01, 0x08)
                        IO (Decode16, 0x0000, 0x0000, 0x01, 0x08)
                        IRQNoFlags () {}
                        DMA (Compatibility, NotBusMaster, Transfer8) {}
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        If (\_SB.PCI0.LPC0.ECP._STA ())
                        {
                            CreateWordField (CRSA, 0x02, IO1A)
                            CreateWordField (CRSA, 0x04, IO2A)
                            CreateByteField (CRSA, 0x07, IO3A)
                            CreateWordField (CRSA, 0x0A, IO4A)
                            CreateWordField (CRSA, 0x0C, IO5A)
                            CreateByteField (CRSA, 0x0F, IO6A)
                            CreateWordField (CRSA, 0x11, IRQA)
                            CreateByteField (CRSA, 0x14, DMAA)
                            Acquire (SLOK, 0xFFFF)
                            ENCF ()
                            ShiftLeft (CR23, 0x02, IO1A)
                            Store (IO1A, IO2A)
                            Add (IO1A, 0x0400, IO4A)
                            Store (IO4A, IO5A)
                            Store (Zero, IRQA)
                            If (PPIR)
                            {
                                ShiftLeft (0x01, PPIR, IRQA)
                            }

                            If (LEqual (IO1A, 0x03BC))
                            {
                                Store (0x03, IO3A)
                                Store (IO3A, IO6A)
                            }

                            ShiftLeft (0x01, PPDM, DMAA)
                            EXCF ()
                            Release (SLOK)
                            Return (CRSA)
                        }
                        Else
                        {
                            Return (ResourceTemplate ()
                            {
                            })
                        }
                    }

                    Method (_SRS, 1, NotSerialized)
                    {
                        CreateWordField (Arg0, 0x02, IO1S)
                        CreateWordField (Arg0, 0x11, IRQS)
                        CreateByteField (Arg0, 0x14, DMAS)
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        ShiftRight (IO1S, 0x02, CR23)
                        FindSetRightBit (IRQS, Local0)
                        If (Local0)
                        {
                            Decrement (Local0)
                        }

                        Store (Local0, PPIR)
                        FindSetRightBit (DMAS, Local1)
                        Decrement (Local1)
                        Store (Local1, PPDM)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (_PRS, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSPS (0x14), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Method (_DIS, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        PSDI (0x14)
                        Release (SLOK)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSST (0x14), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Name (_PSC, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        Or (CR01, 0x04, CR01)
                        Store (0x00, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        And (CR01, 0xFB, CR01)
                        Store (0x03, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }
                }

                Device (FDC)
                {
                    Name (_HID, EisaId ("PNP0700"))
                    Name (MCD, 0x10)
                    Method (_CRS, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSCS (0x10), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Method (B_SR, 1, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        PSSS (0x10, Arg0)
                        Release (SLOK)
                    }

                    Method (B_PR, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSPS (0x10), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Method (B_DI, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        PSDI (0x10)
                        Release (SLOK)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        Store (PSST (0x10), Local0)
                        Release (SLOK)
                        Return (Local0)
                    }

                    Name (_PSC, 0x00)
                    Method (_PS0, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        And (CR05, 0xFD, CR05)
                        Sleep (0x01)
                        Or (CR00, 0x08, CR00)
                        Store (0x00, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Acquire (SLOK, 0xFFFF)
                        ENCF ()
                        And (CR00, 0xF7, CR00)
                        Or (CR05, 0x02, CR05)
                        Store (0x03, _PSC)
                        EXCF ()
                        Release (SLOK)
                    }
                }

                Device (SPIC)
                {
                    Name (_HID, EisaId ("SNY6001"))
                    Name (RSRC, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0000, 0x0000, 0x01, 0x20)
                        IRQNoFlags () {}
                    })
                    Name (SSRC, ResourceTemplate ()
                    {
                        IO (Decode16, 0x0000, 0x0000, 0x01, 0x20)
                        IRQNoFlags () {}
                    })
                    Name (SIRT, Package (0x04)
                    {
                        0x06, 
                        0x09, 
                        0x0A, 
                        0x0B
                    })
                    Method (_CRS, 0, NotSerialized)
                    {
                        CreateByteField (RSRC, 0x02, IOM1)
                        CreateByteField (RSRC, 0x03, IOM2)
                        CreateWordField (RSRC, 0x02, IO1I)
                        CreateWordField (RSRC, 0x04, IO1A)
                        CreateWordField (RSRC, 0x09, IRQV)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            Store (PHSB (0xD4, 0x9C), IOM1)
                            Store (PHSB (0xD4, 0x9D), IOM2)
                        }
                        Else
                        {
                            Store (\_SB.PCI0.LPC0.EC0.SLOB, IOM1)
                            Store (\_SB.PCI0.LPC0.EC0.SHIB, IOM2)
                        }

                        Store (IO1I, IO1A)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            ShiftRight (PHSB (0xD4, 0x9B), 0x04, Local0)
                        }
                        Else
                        {
                            ShiftRight (\_SB.PCI0.LPC0.EC0.SIRQ, 0x04, Local0)
                        }

                        FindSetRightBit (Local0, Local1)
                        If (Local1)
                        {
                            Decrement (Local1)
                            Store (DerefOf (Index (SIRT, Local1)), Local0)
                            ShiftLeft (0x01, Local0, IRQV)
                        }

                        Return (RSRC)
                    }

                    Method (_SRS, 1, NotSerialized)
                    {
                        CreateByteField (Arg0, 0x02, IOA1)
                        CreateByteField (Arg0, 0x03, IOA2)
                        CreateWordField (Arg0, 0x09, IRQV)
                        FindSetRightBit (IRQV, Local0)
                        If (Local0)
                        {
                            Decrement (Local0)
                            Store (Match (SIRT, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                            ShiftLeft (0x10, Local1, Local2)
                        }
                        Else
                        {
                            Store (0x00, Local2)
                        }

                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            PHSW (0xD5, 0x9B, Local2)
                        }
                        Else
                        {
                            Store (Local2, \_SB.PCI0.LPC0.EC0.SIRQ)
                        }

                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            PHSW (0xD5, 0x9D, IOA2)
                            PHSW (0xD5, 0x9C, IOA1)
                        }
                        Else
                        {
                            Store (IOA2, \_SB.PCI0.LPC0.EC0.SHIB)
                            Store (IOA1, \_SB.PCI0.LPC0.EC0.SLOB)
                        }

                        Sleep (0x01)
                    }

                    Name (_PRS, ResourceTemplate ()
                    {
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16, 0x1080, 0x1080, 0x01, 0x20)
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16, 0x10A0, 0x10A0, 0x01, 0x20)
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16, 0x10C0, 0x10C0, 0x01, 0x20)
                        }
                        StartDependentFnNoPri ()
                        {
                            IO (Decode16, 0x10E0, 0x10E0, 0x01, 0x20)
                        }
                        EndDependentFn ()
                        IRQNoFlags () {6,9,10,11}
                    })
                    Method (_DIS, 0, NotSerialized)
                    {
                        Store (_CRS (), SSRC)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            PHSW (0xD5, 0x9B, 0x00)
                            PHSW (0xD5, 0x9D, 0x00)
                            PHSW (0xD5, 0x9C, 0x00)
                        }
                        Else
                        {
                            Store (0x00, \_SB.PCI0.LPC0.EC0.SIRQ)
                            Store (0x00, \_SB.PCI0.LPC0.EC0.SHIB)
                            Store (0x00, \_SB.PCI0.LPC0.EC0.SLOB)
                        }

                        Sleep (0x01)
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            ShiftRight (PHSB (0xD4, 0x9B), 0x04, Local0)
                        }
                        Else
                        {
                            ShiftRight (\_SB.PCI0.LPC0.EC0.SIRQ, 0x04, Local0)
                        }

                        FindSetRightBit (Local0, Local1)
                        If (Local1)
                        {
                            Return (0x0F)
                        }
                        Else
                        {
                            Return (0x0D)
                        }
                    }
                }

                Device (SNC)
                {
                    Name (_HID, EisaId ("SNY5001"))
                    Method (GPID, 0, NotSerialized)
                    {
                        Return (PHSB (0xC0, 0x00))
                    }

                    Method (GBRT, 0, NotSerialized)
                    {
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            Store (PHSD (0xD4, 0x96), Local0)
                        }
                        Else
                        {
                            Store (\_SB.PCI0.LPC0.EC0.BRIT, Local0)
                        }

                        Return (PHSB (0xCF, Local0))
                    }

                    Method (SBRT, 1, NotSerialized)
                    {
                        Store (PHSB (0xCD, Arg0), Local0)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            PHSB (0xC3, Local0)
                        }
                        Else
                        {
                            Store (Local0, \_SB.PCI0.LPC0.EC0.BRIT)
                        }

                        Return (Zero)
                    }

                    Method (GPBR, 0, NotSerialized)
                    {
                        Return (PHSB (0xC1, 0x00))
                    }

                    Method (SPBR, 1, NotSerialized)
                    {
                        PHSB (0xC2, Arg0)
                        Return (Zero)
                    }

                    Method (GCTR, 0, NotSerialized)
                    {
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            Store (PHSD (0xD4, 0x97), Local0)
                        }
                        Else
                        {
                            Store (\_SB.PCI0.LPC0.EC0.CONT, Local0)
                        }

                        Return (PHSB (0xD0, Local0))
                    }

                    Method (SCTR, 1, NotSerialized)
                    {
                        Store (PHSB (0xCE, Arg0), Local0)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            PHSB (0xC6, Local0)
                        }
                        Else
                        {
                            Store (Local0, \_SB.PCI0.LPC0.EC0.CONT)
                        }

                        Return (Zero)
                    }

                    Method (GPCR, 0, NotSerialized)
                    {
                        Return (PHSB (0xC4, 0x00))
                    }

                    Method (SPCR, 1, NotSerialized)
                    {
                        PHSB (0xC5, Arg0)
                        Return (Zero)
                    }

                    Method (GCMI, 1, NotSerialized)
                    {
                        Return (PHSD (0xCA, Arg0))
                    }

                    Method (SCMI, 1, NotSerialized)
                    {
                        Return (PHSD (0xCB, Arg0))
                    }

                    Method (PWAK, 0, NotSerialized)
                    {
                        Acquire (PLOK, 0xFFFF)
                        Notify (\_PR.CPU0, 0x80)
                        Release (PLOK)
                        Return (Zero)
                    }

                    Method (PWRN, 0, NotSerialized)
                    {
                        Notify (\_SB.PWRB, 0x80)
                    }

                    Method (CSXB, 1, NotSerialized)
                    {
                        Acquire (MPHS, 0xFFFF)
                        Store (Arg0, SXBF)
                        PHS0 (0xCC)
                        Store (SXBF, Local0)
                        Release (MPHS)
                        Return (Local0)
                    }
                }
            }

            Device (IDEC)
            {
                Name (_ADR, 0x001F0001)
                OperationRegion (IDEC, PCI_Config, 0x40, 0x18)
                Field (IDEC, DWordAcc, NoLock, Preserve)
                {
                    PRIT,   16, 
                    SECT,   16, 
                    PSIT,   4, 
                    SSIT,   4, 
                    Offset (0x08), 
                    SDMA,   4, 
                    Offset (0x0A), 
                    SDT0,   2, 
                        ,   2, 
                    SDT1,   2, 
                    Offset (0x0B), 
                    SDT2,   2, 
                        ,   2, 
                    SDT3,   2, 
                    Offset (0x14), 
                    ICR0,   4, 
                    ICR1,   4, 
                    ICR2,   4, 
                    ICR3,   4, 
                    ICR4,   4, 
                    ICR5,   4
                }

                Field (IDEC, DWordAcc, NoLock, Preserve)
                {
                    Offset (0x02), 
                    TIM0,   1
                }

                Device (PRID)
                {
                    Name (_ADR, 0x00)
                    Method (_GTM, 0, NotSerialized)
                    {
                        Name (PBUF, Buffer (0x14)
                        {
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                            0x00, 0x00, 0x00, 0x00
                        })
                        CreateDWordField (PBUF, 0x00, PIO0)
                        CreateDWordField (PBUF, 0x04, DMA0)
                        CreateDWordField (PBUF, 0x08, PIO1)
                        CreateDWordField (PBUF, 0x0C, DMA1)
                        CreateDWordField (PBUF, 0x10, FLAG)
                        Store (GETP (PRIT), PIO0)
                        Store (GETD (And (SDMA, 0x01), And (ICR3, 0x01), And (ICR0, 0x01), SDT0), DMA0)
                        If (LEqual (DMA0, 0xFFFFFFFF))
                        {
                            Store (PIO0, DMA0)
                        }

                        If (And (PRIT, 0x4000))
                        {
                            If (LEqual (And (PRIT, 0x90), 0x80))
                            {
                                Store (0x0384, PIO1)
                            }
                            Else
                            {
                                Store (GETT (PSIT), PIO1)
                            }
                        }
                        Else
                        {
                            Store (0xFFFFFFFF, PIO1)
                        }

                        Store (GETD (And (SDMA, 0x02), And (ICR3, 0x02), And (ICR0, 0x02), SDT1), DMA1)
                        If (LEqual (DMA1, 0xFFFFFFFF))
                        {
                            Store (PIO1, DMA1)
                        }

                        Store (GETF (And (SDMA, 0x01), And (SDMA, 0x02), PRIT), FLAG)
                        Return (PBUF)
                    }

                    Method (_STM, 3, NotSerialized)
                    {
                        CreateDWordField (Arg0, 0x00, PIO0)
                        CreateDWordField (Arg0, 0x04, DMA0)
                        CreateDWordField (Arg0, 0x08, PIO1)
                        CreateDWordField (Arg0, 0x0C, DMA1)
                        CreateDWordField (Arg0, 0x10, FLAG)
                        Store (0x04, ICR2)
                        If (LEqual (SizeOf (Arg1), 0x0200))
                        {
                            And (PRIT, 0x40F0, PRIT)
                            And (SDMA, 0x0E, SDMA)
                            Store (0x00, SDT0)
                            And (ICR0, 0x0E, ICR0)
                            And (ICR1, 0x0E, ICR1)
                            And (ICR3, 0x0E, ICR3)
                            And (ICR5, 0x0E, ICR5)
                            CreateWordField (Arg1, 0x62, W490)
                            CreateWordField (Arg1, 0x6A, W530)
                            CreateWordField (Arg1, 0x7E, W630)
                            CreateWordField (Arg1, 0x80, W640)
                            CreateWordField (Arg1, 0xB0, W880)
                            Or (PRIT, 0x8004, PRIT)
                            If (LAnd (And (FLAG, 0x02), And (W490, 0x0800)))
                            {
                                Or (PRIT, 0x02, PRIT)
                            }

                            Or (PRIT, SETP (PIO0, W530, W640), PRIT)
                            If (And (FLAG, 0x01))
                            {
                                Or (SDMA, 0x01, SDMA)
                                Store (SETD (DMA0), SDT0)
                                If (And (W880, 0x20))
                                {
                                    Or (ICR5, 0x01, ICR5)
                                }

                                If (And (W880, 0x10))
                                {
                                    Or (ICR1, 0x01, ICR1)
                                }

                                If (LLess (DMA0, 0x1E))
                                {
                                    Or (ICR3, 0x01, ICR3)
                                }

                                If (LLess (DMA0, 0x3C))
                                {
                                    Or (ICR0, 0x01, ICR0)
                                }
                            }
                        }

                        If (LEqual (SizeOf (Arg2), 0x0200))
                        {
                            And (PRIT, 0x3F0F, PRIT)
                            Store (0x00, PSIT)
                            And (SDMA, 0x0D, SDMA)
                            Store (0x00, SDT1)
                            And (ICR0, 0x0D, ICR0)
                            And (ICR1, 0x0D, ICR1)
                            And (ICR3, 0x0D, ICR3)
                            And (ICR5, 0x0D, ICR5)
                            CreateWordField (Arg2, 0x62, W491)
                            CreateWordField (Arg2, 0x6A, W531)
                            CreateWordField (Arg2, 0x7E, W631)
                            CreateWordField (Arg2, 0x80, W641)
                            CreateWordField (Arg2, 0xB0, W881)
                            Or (PRIT, 0x8040, PRIT)
                            If (LAnd (And (FLAG, 0x08), And (W491, 0x0800)))
                            {
                                Or (PRIT, 0x20, PRIT)
                            }

                            If (And (FLAG, 0x10))
                            {
                                Or (PRIT, 0x4000, PRIT)
                                If (LGreater (PIO1, 0xF0))
                                {
                                    Or (PRIT, 0x80, PRIT)
                                }
                                Else
                                {
                                    Or (PRIT, 0x10, PRIT)
                                    Store (SETT (PIO1, W531, W641), PSIT)
                                }
                            }

                            If (And (FLAG, 0x04))
                            {
                                Or (SDMA, 0x02, SDMA)
                                Store (SETD (DMA1), SDT1)
                                If (And (W881, 0x20))
                                {
                                    Or (ICR5, 0x02, ICR5)
                                }

                                If (And (W881, 0x10))
                                {
                                    Or (ICR1, 0x02, ICR1)
                                }

                                If (LLess (DMA0, 0x1E))
                                {
                                    Or (ICR3, 0x02, ICR3)
                                }

                                If (LLess (DMA0, 0x3C))
                                {
                                    Or (ICR0, 0x02, ICR0)
                                }
                            }
                        }
                    }

                    Device (P_D0)
                    {
                        Name (_ADR, 0x00)
                        Method (_GTF, 0, NotSerialized)
                        {
                            Name (PIB0, Buffer (0x0E)
                            {
                                0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, 
                                0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF
                            })
                            CreateByteField (PIB0, 0x01, PMD0)
                            CreateByteField (PIB0, 0x08, DMD0)
                            If (And (PRIT, 0x02))
                            {
                                If (LEqual (And (PRIT, 0x09), 0x08))
                                {
                                    Store (0x08, PMD0)
                                }
                                Else
                                {
                                    Store (0x0A, PMD0)
                                    ShiftRight (And (PRIT, 0x0300), 0x08, Local0)
                                    ShiftRight (And (PRIT, 0x3000), 0x0C, Local1)
                                    Add (Local0, Local1, Local2)
                                    If (LEqual (0x03, Local2))
                                    {
                                        Store (0x0B, PMD0)
                                    }

                                    If (LEqual (0x05, Local2))
                                    {
                                        Store (0x0C, PMD0)
                                    }
                                }
                            }
                            Else
                            {
                                Store (0x01, PMD0)
                            }

                            If (And (SDMA, 0x01))
                            {
                                Store (Or (SDT0, 0x40), DMD0)
                                If (And (ICR0, 0x01))
                                {
                                    Add (DMD0, 0x02, DMD0)
                                }

                                If (And (ICR3, 0x01))
                                {
                                    Store (0x45, DMD0)
                                }
                            }
                            Else
                            {
                                Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0)
                            }

                            Return (PIB0)
                        }
                    }

                    Method (_PS0, 0, NotSerialized)
                    {
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                    }
                }

                Device (SECD)
                {
                    Name (_ADR, 0x01)
                    Name (_PSC, 0x00)
                    Method (_GTM, 0, NotSerialized)
                    {
                        Name (SBUF, Buffer (0x14)
                        {
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                            0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 
                            0x00, 0x00, 0x00, 0x00
                        })
                        CreateDWordField (SBUF, 0x00, PIO0)
                        CreateDWordField (SBUF, 0x04, DMA0)
                        CreateDWordField (SBUF, 0x08, PIO1)
                        CreateDWordField (SBUF, 0x0C, DMA1)
                        CreateDWordField (SBUF, 0x10, FLAG)
                        Store (GETP (SECT), PIO0)
                        Store (GETD (And (SDMA, 0x04), And (ICR3, 0x04), And (ICR0, 0x04), SDT2), DMA0)
                        If (LEqual (DMA0, 0xFFFFFFFF))
                        {
                            Store (PIO0, DMA0)
                        }

                        If (And (SECT, 0x4000))
                        {
                            If (LEqual (And (SECT, 0x90), 0x80))
                            {
                                Store (0x0384, PIO1)
                            }
                            Else
                            {
                                Store (GETT (SSIT), PIO1)
                            }
                        }
                        Else
                        {
                            Store (0xFFFFFFFF, PIO1)
                        }

                        Store (GETD (And (SDMA, 0x08), And (ICR3, 0x08), And (ICR0, 0x08), SDT3), DMA1)
                        If (LEqual (DMA1, 0xFFFFFFFF))
                        {
                            Store (PIO1, DMA1)
                        }

                        Store (GETF (And (SDMA, 0x04), And (SDMA, 0x08), SECT), FLAG)
                        Or (FLAG, 0x03, FLAG)
                        Return (SBUF)
                    }

                    Method (_STM, 3, NotSerialized)
                    {
                        CreateDWordField (Arg0, 0x00, PIO0)
                        CreateDWordField (Arg0, 0x04, DMA0)
                        CreateDWordField (Arg0, 0x08, PIO1)
                        CreateDWordField (Arg0, 0x0C, DMA1)
                        CreateDWordField (Arg0, 0x10, FLAG)
                        Store (0x04, ICR2)
                        If (LEqual (SizeOf (Arg1), 0x0200))
                        {
                            And (SECT, 0x40F0, SECT)
                            And (SDMA, 0x0B, SDMA)
                            Store (0x00, SDT2)
                            And (ICR0, 0x0B, ICR0)
                            And (ICR1, 0x0B, ICR1)
                            And (ICR3, 0x0B, ICR3)
                            And (ICR5, 0x0B, ICR5)
                            CreateWordField (Arg1, 0x62, W490)
                            CreateWordField (Arg1, 0x6A, W530)
                            CreateWordField (Arg1, 0x7E, W630)
                            CreateWordField (Arg1, 0x80, W640)
                            CreateWordField (Arg1, 0xB0, W880)
                            Or (SECT, 0x8004, SECT)
                            If (LAnd (And (FLAG, 0x02), And (W490, 0x0800)))
                            {
                                Or (SECT, 0x02, SECT)
                            }

                            Or (SECT, SETP (PIO0, W530, W640), SECT)
                            If (And (FLAG, 0x01))
                            {
                                Or (SDMA, 0x04, SDMA)
                                Store (SETD (DMA0), SDT2)
                                If (And (W880, 0x20))
                                {
                                    Or (ICR5, 0x04, ICR5)
                                }

                                If (And (W880, 0x10))
                                {
                                    Or (ICR1, 0x04, ICR1)
                                }

                                If (LLess (DMA0, 0x1E))
                                {
                                    Or (ICR3, 0x04, ICR3)
                                }

                                If (LLess (DMA0, 0x3C))
                                {
                                    Or (ICR0, 0x04, ICR0)
                                }
                            }
                        }

                        If (LEqual (SizeOf (Arg2), 0x0200))
                        {
                            And (SECT, 0x3F0F, SECT)
                            Store (0x00, SSIT)
                            And (SDMA, 0x07, SDMA)
                            Store (0x00, SDT3)
                            And (ICR0, 0x07, ICR0)
                            And (ICR1, 0x07, ICR1)
                            And (ICR3, 0x07, ICR3)
                            And (ICR5, 0x07, ICR5)
                            CreateWordField (Arg2, 0x62, W491)
                            CreateWordField (Arg2, 0x6A, W531)
                            CreateWordField (Arg2, 0x7E, W631)
                            CreateWordField (Arg2, 0x80, W641)
                            CreateWordField (Arg2, 0xB0, W881)
                            Or (SECT, 0x8040, SECT)
                            If (LAnd (And (FLAG, 0x08), And (W491, 0x0800)))
                            {
                                Or (SECT, 0x20, SECT)
                            }

                            If (And (FLAG, 0x10))
                            {
                                Or (SECT, 0x4000, SECT)
                                If (LGreater (PIO1, 0xF0))
                                {
                                    Or (SECT, 0x80, SECT)
                                }
                                Else
                                {
                                    Or (SECT, 0x10, SECT)
                                    Store (SETT (PIO1, W531, W641), SSIT)
                                }
                            }

                            If (And (FLAG, 0x04))
                            {
                                Or (SDMA, 0x08, SDMA)
                                Store (SETD (DMA1), SDT3)
                                If (And (W881, 0x20))
                                {
                                    Or (ICR5, 0x08, ICR5)
                                }

                                If (And (W881, 0x10))
                                {
                                    Or (ICR1, 0x08, ICR1)
                                }

                                If (LLess (DMA0, 0x1E))
                                {
                                    Or (ICR3, 0x08, ICR3)
                                }

                                If (LLess (DMA0, 0x3C))
                                {
                                    Or (ICR0, 0x08, ICR0)
                                }
                            }
                        }
                    }

                    Method (_STA, 0, NotSerialized)
                    {
                        Return (0x0F)
                    }

                    Device (S_D0)
                    {
                        Name (_ADR, 0x00)
                        Method (_GTF, 0, NotSerialized)
                        {
                            Name (SIB0, Buffer (0x0E)
                            {
                                0x03, 0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF, 0x03, 
                                0x00, 0x00, 0x00, 0x00, 0xA0, 0xEF
                            })
                            CreateByteField (SIB0, 0x01, PMD0)
                            CreateByteField (SIB0, 0x08, DMD0)
                            If (And (SECT, 0x02))
                            {
                                If (LEqual (And (SECT, 0x09), 0x08))
                                {
                                    Store (0x08, PMD0)
                                }
                                Else
                                {
                                    Store (0x0A, PMD0)
                                    ShiftRight (And (SECT, 0x0300), 0x08, Local0)
                                    ShiftRight (And (SECT, 0x3000), 0x0C, Local1)
                                    Add (Local0, Local1, Local2)
                                    If (LEqual (0x03, Local2))
                                    {
                                        Store (0x0B, PMD0)
                                    }

                                    If (LEqual (0x05, Local2))
                                    {
                                        Store (0x0C, PMD0)
                                    }
                                }
                            }
                            Else
                            {
                                Store (0x01, PMD0)
                            }

                            If (And (SDMA, 0x04))
                            {
                                Store (Or (SDT2, 0x40), DMD0)
                                If (And (ICR0, 0x04))
                                {
                                    Add (DMD0, 0x02, DMD0)
                                }

                                If (And (ICR3, 0x04))
                                {
                                    Store (0x45, DMD0)
                                }
                            }
                            Else
                            {
                                Or (Subtract (And (PMD0, 0x07), 0x02), 0x20, DMD0)
                            }

                            Return (SIB0)
                        }

                        Method (_EJ0, 1, NotSerialized)
                        {
                            PHS (0xE7)
                            EMPB ()
                            Store (One, EFLG)
                        }

                        Method (_STA, 0, NotSerialized)
                        {
                            If (EFLG)
                            {
                                Return (0x00)
                            }
                            Else
                            {
                                If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                                {
                                    Acquire (\_SB.PCI0.LPC0.SLOK, 0xFFFF)
                                    And (PHSD (0xD4, 0x80), 0x01, Local1)
                                    Release (\_SB.PCI0.LPC0.SLOK)
                                }
                                Else
                                {
                                    Store (\_SB.PCI0.LPC0.EC0.MPBP, Local1)
                                }

                                If (Local1)
                                {
                                    Store (One, EFLG)
                                    Return (0x00)
                                }
                                Else
                                {
                                    Store (Zero, EFLG)
                                    Return (0x0F)
                                }
                            }
                        }
                    }

                    Method (_PS0, 0, NotSerialized)
                    {
                        Store (0x00, _PSC)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            Acquire (\_SB.PCI0.LPC0.SLOK, 0xFFFF)
                            And (PHSD (0xD4, 0x80), 0x01, Local1)
                            Release (\_SB.PCI0.LPC0.SLOK)
                        }
                        Else
                        {
                            Store (\_SB.PCI0.LPC0.EC0.MPBP, Local1)
                        }

                        If (Local1)
                        {
                            RMPB ()
                            Store (One, TIM0)
                            Or (SDMA, 0x04, SDMA)
                            Or (SDT2, 0x02, SDT2)
                        }
                    }

                    Method (_PS3, 0, NotSerialized)
                    {
                        Store (0x03, _PSC)
                    }

                    Name (EFLG, 0x00)
                    Method (_INI, 0, NotSerialized)
                    {
                        Store (Zero, EFLG)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            Acquire (\_SB.PCI0.LPC0.SLOK, 0xFFFF)
                            And (PHSD (0xD4, 0x80), 0x01, Local1)
                            Release (\_SB.PCI0.LPC0.SLOK)
                        }
                        Else
                        {
                            Store (\_SB.PCI0.LPC0.EC0.MPBP, Local1)
                        }

                        If (Local1)
                        {
                            Store (One, TIM0)
                            Or (SDMA, 0x04, SDMA)
                            Or (SDT2, 0x02, SDT2)
                        }
                    }

                    Method (EMPB, 0, NotSerialized)
                    {
                        RMPB ()
                        Sleep (0x01F4)
                    }

                    Method (RMPB, 0, NotSerialized)
                    {
                        Store (0x8000, \_SB.PCI0.IDEC.SECT)
                        Or (ICR4, 0x04, ICR4)
                        If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                        {
                            PHSW (0xD5, 0x9E, 0x00)
                        }
                        Else
                        {
                            Store (0x00, \_SB.PCI0.LPC0.EC0.MPWR)
                        }
                    }
                }

                Method (GETP, 1, NotSerialized)
                {
                    If (LEqual (And (Arg0, 0x09), 0x00))
                    {
                        Return (0xFFFFFFFF)
                    }

                    If (LEqual (And (Arg0, 0x09), 0x08))
                    {
                        Return (0x0384)
                    }

                    ShiftRight (And (Arg0, 0x0300), 0x08, Local0)
                    ShiftRight (And (Arg0, 0x3000), 0x0C, Local1)
                    Return (Multiply (0x1E, Subtract (0x09, Add (Local0, Local1))))
                }

                Method (GETD, 4, NotSerialized)
                {
                    If (Arg0)
                    {
                        If (Arg1)
                        {
                            Return (0x14)
                        }

                        If (Arg2)
                        {
                            Return (Multiply (Subtract (0x04, Arg3), 0x0F))
                        }

                        Return (Multiply (Subtract (0x04, Arg3), 0x1E))
                    }

                    Return (0xFFFFFFFF)
                }

                Method (GETT, 1, NotSerialized)
                {
                    Return (Multiply (0x1E, Subtract (0x09, Add (And (ShiftRight (Arg0, 0x02), 0x03), And (Arg0, 0x03)))))
                }

                Method (GETF, 3, NotSerialized)
                {
                    Name (TMPF, 0x00)
                    If (Arg0)
                    {
                        Or (TMPF, 0x01, TMPF)
                    }

                    If (And (Arg2, 0x02))
                    {
                        Or (TMPF, 0x02, TMPF)
                    }

                    If (Arg1)
                    {
                        Or (TMPF, 0x04, TMPF)
                    }

                    If (And (Arg2, 0x20))
                    {
                        Or (TMPF, 0x08, TMPF)
                    }

                    If (And (Arg2, 0x4000))
                    {
                        Or (TMPF, 0x10, TMPF)
                    }

                    Return (TMPF)
                }

                Method (SETP, 3, NotSerialized)
                {
                    If (LNot (LLess (Arg0, 0xF0)))
                    {
                        Return (0x08)
                    }
                    Else
                    {
                        If (And (Arg1, 0x02))
                        {
                            If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02)))
                            {
                                Return (0x2301)
                            }

                            If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, 0x01)))
                            {
                                Return (0x2101)
                            }
                        }

                        Return (0x1001)
                    }
                }

                Method (SETD, 1, NotSerialized)
                {
                    If (LNot (LGreater (Arg0, 0x17)))
                    {
                        Return (0x01)
                    }

                    If (LNot (LGreater (Arg0, 0x1E)))
                    {
                        Return (0x02)
                    }

                    If (LNot (LGreater (Arg0, 0x2D)))
                    {
                        Return (0x01)
                    }

                    If (LNot (LGreater (Arg0, 0x3C)))
                    {
                        Return (0x02)
                    }

                    If (LNot (LGreater (Arg0, 0x5A)))
                    {
                        Return (0x01)
                    }

                    Return (0x00)
                }

                Method (SETT, 3, NotSerialized)
                {
                    If (And (Arg1, 0x02))
                    {
                        If (LAnd (LNot (LGreater (Arg0, 0x78)), And (Arg2, 0x02)))
                        {
                            Return (0x0B)
                        }

                        If (LAnd (LNot (LGreater (Arg0, 0xB4)), And (Arg2, 0x01)))
                        {
                            Return (0x09)
                        }
                    }

                    Return (0x04)
                }
            }

            Device (SMBC)
            {
                Name (_ADR, 0x001F0003)
            }

            Device (AUDI)
            {
                Name (_ADR, 0x001F0005)
            }

            Device (MODE)
            {
                Name (_ADR, 0x001F0006)
                Name (_PRW, Package (0x02)
                {
                    0x05, 
                    0x03
                })
            }
        }
    }

    Scope (\_SI)
    {
        Method (_SST, 1, NotSerialized)
        {
            If (LEqual (Arg0, 0x00)) {}
            If (LEqual (Arg0, 0x01)) {}
            If (LEqual (Arg0, 0x02)) {}
            If (LEqual (Arg0, 0x03)) {}
            If (LEqual (Arg0, 0x04)) {}
        }
    }

    Method (_PTS, 1, NotSerialized)
    {
        If (LEqual (Arg0, 0x03))
        {
            Store (\_SB.PCI0.LPC0.SPIC._CRS (), \_SB.PCI0.LPC0.SPIC.SSRC)
            PHSB (0xA0, \_SB.TOOS)
        }

        If (LEqual (Arg0, 0x04))
        {
            Store (\_SB.PCI0.LPC0.SPIC._CRS (), \_SB.PCI0.LPC0.SPIC.SSRC)
            PHSB (0xA2, \_SB.TOOS)
        }
    }

    Method (_WAK, 1, NotSerialized)
    {
        \_SB.NCPU ()
        If (LEqual (Arg0, 0x03))
        {
            \_SB.PCI0.LPC0.SPIC._SRS (\_SB.PCI0.LPC0.SPIC.SSRC)
            If (LNot (\_SB.PCI0.LPC0.EC0.WAKI))
            {
                Notify (\_SB.PWRB, 0x02)
            }
        }

        If (LEqual (Arg0, 0x04))
        {
            \_SB.PCI0.LPC0.SPIC._SRS (\_SB.PCI0.LPC0.SPIC.SSRC)
            PHSB (0xA3, \_SB.TOOS)
            Notify (\_SB.PWRB, 0x02)
        }

        Return (Zero)
    }

    Scope (\_TZ)
    {
        ThermalZone (ATF0)
        {
            Method (KELV, 1, NotSerialized)
            {
                Store (Arg0, Local0)
                Multiply (Local0, 0x0A, Local0)
                Add (Local0, 0x0AAB, Local0)
                Return (Local0)
            }

            Method (_TMP, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                {
                    Store (PHSD (0xD4, 0xC0), Local1)
                }
                Else
                {
                    Store (\_SB.PCI0.LPC0.EC0.A1TP, Local1)
                }

                ShiftRight (Local1, 0x08, Local0)
                If (LGreater (Local0, 0x80))
                {
                    Sleep (0x32)
                    If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                    {
                        Store (PHSD (0xD4, 0xC0), Local1)
                    }
                    Else
                    {
                        Store (\_SB.PCI0.LPC0.EC0.A1TP, Local1)
                    }

                    ShiftRight (Local1, 0x08, Local0)
                }

                Return (KELV (Local0))
            }

            Method (_PSV, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                {
                    Store (PHSD (0xD4, 0xC4), Local1)
                }
                Else
                {
                    Store (\_SB.PCI0.LPC0.EC0.A1PT, Local1)
                }

                ShiftRight (Local1, 0x08, Local0)
                Return (KELV (Local0))
            }

            Name (_PSL, Package (0x01)
            {
                \_PR.CPU0
            })
            Method (_CRT, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.EC0.ECOK, 0x00))
                {
                    Store (PHSD (0xD4, 0xC6), Local1)
                }
                Else
                {
                    Store (\_SB.PCI0.LPC0.EC0.A1CT, Local1)
                }

                ShiftRight (Local1, 0x08, Local0)
                Return (KELV (Local0))
            }

            Name (_TC1, 0x01)
            Name (_TC2, 0x02)
            Name (_TSP, 0x32)
        }
    }

    Scope (_SB)
    {
        Name (IRQP, Package (0x10)
        {
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x0200, 
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x00, 
            0x00
        })
        Device (LNKA)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x01)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRA, 0x80, \_SB.PCI0.LPC0.PIRA)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRA, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRA, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRA)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRA, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }

        Device (LNKB)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x02)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRB, 0x80, \_SB.PCI0.LPC0.PIRB)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRB, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRB, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRB)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRB, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }

        Device (LNKC)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x03)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRC, 0x80, \_SB.PCI0.LPC0.PIRC)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRC, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRC, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRC)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRC, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }

        Device (LNKD)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x04)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRD, 0x80, \_SB.PCI0.LPC0.PIRD)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRD, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRD, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRD)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRD, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }

        Device (LNKE)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x05)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRE, 0x80, \_SB.PCI0.LPC0.PIRE)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRE, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRE, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRE)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRE, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }

        Device (LNKF)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x06)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRF, 0x80, \_SB.PCI0.LPC0.PIRF)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRF, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRF, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRF)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRF, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }

        Device (LNKG)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x07)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRG, 0x80, \_SB.PCI0.LPC0.PIRG)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRG, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRG, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRG)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRG, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }

        Device (LNKH)
        {
            Name (_HID, EisaId ("PNP0C0F"))
            Name (_UID, 0x08)
            Name (_PRS, ResourceTemplate ()
            {
                IRQ (Level, ActiveLow, Shared) {9}
            })
            Method (_DIS, 0, NotSerialized)
            {
                Or (\_SB.PCI0.LPC0.PIRH, 0x80, \_SB.PCI0.LPC0.PIRH)
            }

            Method (_CRS, 0, NotSerialized)
            {
                Name (BUFA, ResourceTemplate ()
                {
                    IRQ (Level, ActiveLow, Shared) {}
                })
                CreateWordField (BUFA, 0x01, IRA1)
                And (\_SB.PCI0.LPC0.PIRH, 0x8F, Local0)
                If (LLess (Local0, 0x80))
                {
                    And (Local0, 0x0F, Local0)
                    Store (DerefOf (Index (IRQP, Local0)), Local4)
                    Store (Local4, IRA1)
                }

                Return (BUFA)
            }

            Method (_SRS, 1, NotSerialized)
            {
                CreateWordField (Arg0, 0x01, IRA1)
                Store (IRA1, Local0)
                Store (Match (IRQP, MEQ, Local0, MTR, 0x00, 0x00), Local1)
                And (\_SB.PCI0.LPC0.PIRH, 0x70, Local0)
                Or (Local1, Local0, \_SB.PCI0.LPC0.PIRH)
            }

            Method (_STA, 0, NotSerialized)
            {
                If (LEqual (\_SB.PCI0.LPC0.PIRH, 0x80))
                {
                    Return (0x09)
                }
                Else
                {
                    Return (0x0B)
                }
            }
        }
    }

    Method (CKOS, 0, NotSerialized)
    {
        If (CondRefOf (_OSI, Local0))
        {
            If (\_OSI ("Windows 2001"))
            {
                Store (0x04, Local4)
            }
        }
        Else
        {
            Store (SizeOf (_OS), Local0)
            Name (BUFF, Buffer (Local0) {})
            Name (STRG, Buffer (0x09) {})
            Store (_OS, BUFF)
            Store ("NT E: te", STRG)
            Store (Ones, Local4)
            If (LEqual (Local0, 0x11))
            {
                Add (Multiply (DerefOf (Index (BUFF, 0x0F)), 0x0100), DerefOf (Index (BUFF, 0x10)), Local1)
                Add (Multiply (DerefOf (Index (STRG, 0x06)), 0x0100), DerefOf (Index (STRG, 0x07)), Local2)
                If (LEqual (Local1, Local2))
                {
                    Store (0x02, Local4)
                }
            }
            Else
            {
                If (LNot (LLess (Local0, 0x14)))
                {
                    Add (Multiply (DerefOf (Index (BUFF, 0x12)), 0x0100), DerefOf (Index (BUFF, 0x13)), Local1)
                    Add (Multiply (DerefOf (Index (STRG, 0x00)), 0x0100), DerefOf (Index (STRG, 0x01)), Local2)
                    Add (Multiply (DerefOf (Index (STRG, 0x03)), 0x0100), DerefOf (Index (STRG, 0x04)), Local3)
                    Add (Multiply (DerefOf (Index (STRG, 0x06)), 0x0100), DerefOf (Index (STRG, 0x07)), Local5)
                    If (LEqual (Local1, Local2))
                    {
                        Store (0x00, Local4)
                    }
                    Else
                    {
                        If (LEqual (Local1, Local3))
                        {
                            Store (0x01, Local4)
                        }
                        Else
                        {
                            If (LEqual (Local1, Local5))
                            {
                                Store (0x03, Local4)
                            }
                        }
                    }
                }
            }
        }

        Return (Local4)
    }

    Scope (\_PR.CPU0)
    {
        Name (ACST, Package (0x03)
        {
            0x02, 
            Package (0x04)
            {
                ResourceTemplate ()
                {
                    Register (FFixedHW, 0x00, 0x00, 0x0000000000000000)
                }, 

                0x01, 
                0x0001, 
                0x03E8
            }, 

            Package (0x04)
            {
                ResourceTemplate ()
                {
                    Register (SystemIO, 0x08, 0x00, 0x0000000000001014)
                }, 

                0x02, 
                0x0001, 
                0x01F4
            }
        })
        Name (DCST, Package (0x04)
        {
            0x03, 
            Package (0x04)
            {
                ResourceTemplate ()
                {
                    Register (FFixedHW, 0x00, 0x00, 0x0000000000000000)
                }, 

                0x01, 
                0x0001, 
                0x03E8
            }, 

            Package (0x04)
            {
                ResourceTemplate ()
                {
                    Register (SystemIO, 0x08, 0x00, 0x0000000000001014)
                }, 

                0x02, 
                0x0001, 
                0x01F4
            }, 

            Package (0x04)
            {
                ResourceTemplate ()
                {
                    Register (SystemIO, 0x08, 0x00, 0x0000000000001015)
                }, 

                0x03, 
                0x0055, 
                0x0064
            }
        })
    }
}



More information about the freebsd-acpi mailing list