Skip to contentSkip to conversation

ipw2100 problems with acpi interrupt routing after S3

DISCUSSION Stefan Dösinger 1 participant 1 message Jul 9, 2004 ACPI

lore
Share & tools
lore
#0 lore raw

Hi,
I have problems with ipw2100 when I use acpi for IRQ routing. I don't know if it's a acpi bug or a ipw2100 bug, so I write to both lists.

The problem occurs after S3 resume, the system is an Acer Travelmate 803. System information is attached. The system works like a charm after resume if ipw2100 is not loaded. When loading ipw2100(version 0.48), acpi comlains that no one cared about IRQ11(the irq of the ipw card) and IRQ 10, which is not used by the wlan card, but used by many other devices. Both irqs are disabled afterwards.
I tried with 2.6.7+acpi patch+the patch from acpi bug 2643 and 2.6.7-mm7+ bug 2643 patch.

With 2.6.7, the system crashes with "Disabling IRQ # 11", 2.6.7-mm7 is still running afterwards, but in a pretty unuseable state. The provided dmesg is from 2.6.7-mm7, having ipw2100 loaded when suspending. If it's not loaded, the system works fine until I load it.

Passing pci=noacpi makes ipw2100 resume correctly, but the system is quite unstable and many devices tend to crash due to irq problems. The same problem also occurs when using ndiswrapper.

I don't know if it's an acpi or ipw2100 problem. On the one hand the problem occurs with ipw2100 and ndiswrapper, on the other hand the system works really fine without ipw2100. I don't know how much the linux and windows ipw driver have in common.

Thanks in advance,
Stefan

0000:00:1d.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 5
ACPI: PCI interrupt 0000:00:1d.1[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:1d.2[C] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKH] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 10
ACPI: PCI interrupt 0000:00:1f.3[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:00:1f.6[B] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI Interrupt Link [LNKE] enabled at IRQ 11
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11
ACPI: PCI interrupt 0000:02:06.0[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:02:06.1[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:02:06.2[A] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 10 (level, low) -> IRQ 10 Simple Boot Flag at 0x37 set to 0x1
Machine check exception polling timer started.
devfs: 2004-01-31 Richard Gooch ([email protected])
devfs: boot_options: 0x0
Initializing Cryptographic API
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 0000:00:1f.1
PCI: Enabling device 0000:00:1f.1 (0005 -> 0007)
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 10 (level, low) -> IRQ 10
ICH4: chipset revision 3
ICH4: not 100% native mode: will probe irqs later

    ide0: BM-DMA at 0x1860-0x1867, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1868-0x186f, BIOS settings: hdc:pio, hdd:pio

hda: IC25N040ATCS04-0, ATA DISK drive
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
Using anticipatory io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: max request size: 128KiB
hda: 78140160 sectors (40007 MB) w/1768KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p3 < p5 p6 p7 p8 p9 >
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
speedstep-centrino: found "Intel(R) Pentium(R) M processor 1600MHz": max frequency: 1600000kHz
ACPI: (supports S0 S3 S4 S5)
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 140k freed
kjournald starting. Commit interval 5 seconds
NET: Registered protocol family 1
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
Adding 1052216k swap on /dev/hda5. Priority:-1 extents:1
EXT3 FS on hda9, internal journal
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
SCSI subsystem initialized
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855PM Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 256M @ 0xe0000000
Synaptics Touchpad, model: 1
Firmware: 5.8
180 degree mounted touchpad
Sensor: 29
new absolute packet format
Touchpad has extended capability bits
-> 4 multi-buttons, i.e. besides standard buttons
-> multifinger detection
-> palm detection
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
input: SynPS/2 Synaptics TouchPad on isa0060/serio1
FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hda1.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda6, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda7, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda8, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usbcore: registered new driver usbfs
usbcore: registered new driver hub
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
Real Time Clock Driver v1.12
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80"
b44.c:v0.94 (May 4, 2004)
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 5 (level, low) -> IRQ 5
eth0: Broadcom 4400 10/100BaseT Ethernet 00:c0:9f:27:ea:5a
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: loading with WEP enabled.
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 0.48
ipw2100: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11
Detected ipw2100 PCI device at 0000:02:04.0, mem: 0xD0206000-0xD0206FFF -> e08f2000, irq: 11
wlan0: Using hotplug firmware load.
Registered as wlan0
NET: Registered protocol family 17
ACPI: AC Adapter [ACAD] (on-line)
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
ACPI: Battery Slot [BAT1] (battery absent)
ACPI: Battery Slot [BAT2] (battery absent)
ACPI: Power Button (FF) [PWRF]
ACPI: Lid Switch [LID]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Processor [CPU0] (supports C1 C2 C3)
[ACPI Debug] String: Length 0x23, "Current Temperature is ----------- "
[ACPI Debug] Integer: 0x0000000000000049
[ACPI Debug] String: Length 0x23, "Current Temperature is ----------- "
[ACPI Debug] Integer: 0x0000000000000049
acpi_bus-0266 [95] acpi_bus_set_power : Error transitioning device [FAN1] to D0
acpi_thermal-0619 [94] acpi_thermal_active : Unable to turn cooling device [dfe3f928] 'on'
acpi_bus-0266 [95] acpi_bus_set_power : Error transitioning device [FAN0] to D0
acpi_thermal-0619 [94] acpi_thermal_active : Unable to turn cooling device [dfe3e228] 'on'
ACPI: Thermal Zone [THRM] (73 C)
ACPI: Fan [FAN0] (off)
ACPI: Fan [FAN1] (off)
b44: eth0: Link is down.
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
[ACPI Debug] String: Length 0x23, "Current Temperature is ----------- "
[ACPI Debug] Integer: 0x000000000000003E
ieee80211_crypt: registered algorithm 'WEP'
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
[ACPI Debug] String: Length 0x23, "Current Temperature is ----------- "
[ACPI Debug] Integer: 0x0000000000000039
wlan0: Associated with 'doesinger' at 11Mbps, channel 9
wlan0: Waking net queue.
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
[ACPI Debug] String: Length 0x23, "Current Temperature is ----------- "
[ACPI Debug] Integer: 0x0000000000000034
[ACPI Debug] String: Length 0x1C, "Temperature decreasing: _Q81"
[ACPI Debug] String: Length 0x23, "Current Temperature is ----------- "
[ACPI Debug] Integer: 0x0000000000000033
[drm] Initialized radeon 1.11.0 20020828 on minor 0: ATI Technologies Inc Radeon R250 Lf [Radeon Mobility 9000 M9]
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
[drm] Loading R200 Microcode
atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly. atkbd.c: Spurious ACK on isa0060/serio0. Some program, like XFree86, might be trying access hardware directly. [ACPI Debug] String: Length 0x19, "Sleep Button Query: Fn+F4"
Module dummydriver init
dummy_probe
dummy_probe
dummy_probe
PM: Preparing system for suspend
Stopping tasks: ===========================|
[ACPI Debug] String: Length 0x16, ">>>> _PTS ------------"
[ACPI Debug] Integer: 0x0000000000000003
dummy_pm_suspend: not doing anything
dummy_pm_suspend: not doing anything
dummy_pm_suspend: not doing anything
PM: Entering state.
hwsleep-0312 [104] acpi_enter_sleep_state: Entering sleep state [S3]
Back to C!
irq 11: nobody cared!

 [<c010840a>] __report_bad_irq+0x2a/0x90
 [<c0108500>] note_interrupt+0x70/0xb0
 [<c01087e0>] do_IRQ+0x120/0x130
 [<c0106a38>] common_interrupt+0x18/0x20
 [<c0108390>] handle_IRQ_event+0x30/0x80
 [<c010874f>] do_IRQ+0x8f/0x130
 [<c0106a38>] common_interrupt+0x18/0x20
 [<c0120ace>] __do_softirq+0x2e/0x80
 [<c0120b47>] do_softirq+0x27/0x30
 [<c01087bb>] do_IRQ+0xfb/0x130
 [<c010c660>] time_resume+0x0/0x50
 [<c0106a38>] common_interrupt+0x18/0x20
 [<c010c660>] time_resume+0x0/0x50
 [<c010c69d>] time_resume+0x3d/0x50
 [<c020a273>] sysdev_resume+0x103/0x108
 [<c020dc05>] device_power_up+0x5/0xa
 [<c01348c6>] suspend_enter+0x36/0x50
 [<c0134989>] enter_state+0x69/0xb0
 [<c01ec3d9>] acpi_suspend+0x3e/0x4d
 [<c01ec4ed>] acpi_system_write_sleep+0x69/0x7d
 [<c01541c8>] vfs_write+0xb8/0x130
 [<c01542f2>] sys_write+0x42/0x70
 [<c01060cb>] syscall_call+0x7/0xb

handlers:
[<e09c36f0>] (ipw2100_interrupt+0x0/0x240 [ipw2100]) Disabling IRQ #11
PM: Finishing up.
dummy_pm_resume: not doing anything
ACPI: PCI interrupt 0000:00:1f.1[A] -> GSI 10 (level, low) -> IRQ 10
dummy_pm_resume: not doing anything
dummy_pm_resume: not doing anything
psmouse.c: TouchPad at isa0060/serio1/input0 lost sync at byte 1
wlan0: Using hotplug firmware load.
wlan0: ipw2100_hw_send_command timed out.
wlan0: Failed to start the card.
[ACPI Debug] String: Length 0x16, ">>>> _WAK ------------" [ACPI Debug] Integer: 0x0000000000000003
irq 10: nobody cared!

 [<c010840a>] __report_bad_irq+0x2a/0x90
 [<c0108500>] note_interrupt+0x70/0xb0
 [<c01087e0>] do_IRQ+0x120/0x130
 [<c0106a38>] common_interrupt+0x18/0x20
 [<c0120ace>] __do_softirq+0x2e/0x80
 [<c0120b47>] do_softirq+0x27/0x30
 [<c01087bb>] do_IRQ+0xfb/0x130
 [<c0106a38>] common_interrupt+0x18/0x20
 [<c01c40cd>] acpi_os_write_port+0x22/0x39
 [<c01d5eec>] acpi_ex_system_io_space_handler+0xa1/0xc7
 [<c01d5e4b>] acpi_ex_system_io_space_handler+0x0/0xc7
 [<c01cb58d>] acpi_ev_address_space_dispatch+0x231/0x2b1
 [<c01d1c93>] acpi_ex_access_region+0xdb/0x183
 [<c01d1cb4>] acpi_ex_access_region+0xfc/0x183
 [<c01d1ed3>] acpi_ex_field_datum_io+0x15e/0x2b0
 [<c01d21f9>] acpi_ex_write_with_update_rule+0x1d4/0x1ef
 [<c01d22a3>] acpi_ex_get_buffer_datum+0x8f/0x97
 [<c01d280d>] acpi_ex_insert_into_field+0x115/0x2d4
 [<c01d0161>] acpi_ex_write_data_to_field+0x344/0x393
 [<c01d6684>] acpi_ex_store_object_to_node+0xda/0x1c2
 [<c01d616d>] acpi_ex_store+0x81/0x2f7
 [<c01d2ff0>] acpi_ex_opcode_1A_1T_1R+0x49c/0x5fc
 [<c01e8373>] acpi_ut_status_exit+0x49/0x55
 [<c01c77ad>] acpi_ds_exec_end_op+0x131/0x444
 [<c01e03ed>] acpi_ps_append_arg+0x1d/0x85
 [<c01dfd75>] acpi_ps_parse_loop+0x6e5/0xa85
 [<c01e01d4>] acpi_ps_parse_aml+0xbf/0x277
 [<c01e0e9e>] acpi_psx_execute+0x1e2/0x290
 [<c01dc40d>] acpi_ns_execute_control_method+0xdf/0xfe
 [<c01dc2f9>] acpi_ns_evaluate_by_handle+0xe2/0x117
 [<c01dc1c2>] acpi_ns_evaluate_by_name+0xd8/0x12d
 [<c01db4ee>] acpi_evaluate_object+0x11a/0x28d
 [<c01d9ce4>] acpi_leave_sleep_state+0x1a3/0x2c7
 [<c01ec370>] acpi_pm_finish+0x12/0x3d
 [<c0134917>] suspend_finish+0x37/0x40
 [<c013499f>] enter_state+0x7f/0xb0
 [<c01ec3d9>] acpi_suspend+0x3e/0x4d
 [<c01ec4ed>] acpi_system_write_sleep+0x69/0x7d
 [<c01541c8>] vfs_write+0xb8/0x130
 [<c01542f2>] sys_write+0x42/0x70
 [<c01060cb>] syscall_call+0x7/0xb

handlers:
[<e0a14d30>] (radeon_irq_handler+0x0/0xc0 [radeon])
Disabling IRQ #10
wlan0: Hardware fatal error detected.
wlan0: Scheduling firmware restart.
ipw2100: wlan0: Restarting adapter.
wlan0: Using hotplug firmware load.
Restarting tasks... done
[ACPI Debug] String: Length 0x1C, "Temperature increasing: _Q80" [ACPI Debug] String: Length 0x23, "Current Temperature is ----------- " [ACPI Debug] Integer: 0x0000000000000038
wlan0: ipw2100_hw_send_command timed out.
wlan0: Failed to start the card.
MCE: The hardware reports a non fatal, correctable incident occurred on CPU 0. Bank 1: f200000000000135
Module dummydriver exit
dummy_remove
dummy_remove
dummy_remove
wlan0: Hardware fatal error detected.
wlan0: Scheduling firmware restart.
ipw2100: wlan0: Restarting adapter.
wlan0: Using hotplug firmware load.
wlan0: ipw2100_hw_send_command timed out.
wlan0: Failed to start the card.
wlan0: Hardware fatal error detected.
wlan0: Scheduling firmware restart.
ipw2100: wlan0: Restarting adapter.
wlan0: Using hotplug firmware load.
wlan0: ipw2100_hw_send_command timed out.
wlan0: Failed to start the card.
wlan0: Hardware fatal error detected.
wlan0: Scheduling firmware restart.
ipw2100: wlan0: Restarting adapter.
wlan0: Using hotplug firmware load.
wlan0: ipw2100_hw_send_command timed out.
wlan0: Failed to start the card.
wlan0: Power down command failed: Error -5
ipw2100: Intel(R) PRO/Wireless 2100 Network Driver, 0.48
ipw2100: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11 irq 11: nobody cared!

 [<c010840a>] __report_bad_irq+0x2a/0x90
 [<c0108500>] note_interrupt+0x70/0xb0
 [<c01087e0>] do_IRQ+0x120/0x130
 [<c0106a38>] common_interrupt+0x18/0x20
 [<c0120ace>] __do_softirq+0x2e/0x80
 [<c0120b47>] do_softirq+0x27/0x30
 [<c01087bb>] do_IRQ+0xfb/0x130
 [<c0106a38>] common_interrupt+0x18/0x20
 [<c0108d7f>] setup_irq+0x7f/0xf0
 [<e09c26f0>] ipw2100_interrupt+0x0/0x240 [ipw2100]
 [<c01088b4>] request_irq+0x84/0xd0
 [<e09ca62a>] ipw2100_pci_init_one+0x40a/0x5c0 [ipw2100]
 [<e09c26f0>] ipw2100_interrupt+0x0/0x240 [ipw2100]
 [<c01c07a2>] pci_device_probe_static+0x52/0x70
 [<c01c07fc>] __pci_device_probe+0x3c/0x50
 [<c01c083c>] pci_device_probe+0x2c/0x50
 [<c020a76f>] bus_match+0x3f/0x70
 [<c020a89c>] driver_attach+0x5c/0xa0
 [<c020adc1>] bus_add_driver+0x91/0xb0
 [<c020b36f>] driver_register+0x2f/0x40
 [<c01c0abc>] pci_register_driver+0x5c/0x90
 [<e08f205a>] ipw2100_init+0x5a/0x90 [ipw2100]
 [<c0133679>] sys_init_module+0x119/0x230
 [<c01060cb>] syscall_call+0x7/0xb

handlers:
[<e09c26f0>] (ipw2100_interrupt+0x0/0x240 [ipw2100])
Disabling IRQ #11
Detected ipw2100 PCI device at 0000:02:04.0, mem: 0xD0206000-0xD0206FFF -> e09e2000, irq: 11
wlan0: Using hotplug firmware load.
wlan0: ipw2100_hw_send_command timed out.
wlan0: Failed to start the card.
Intel 810 + AC97 Audio, version 1.01, 11:57:29 Jul 9 2004
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:00:1f.5 to 64
i810: Intel ICH4 found at IO 0x18c0 and 0x1c00, MEM 0xd0000c00 and 0xd0000800, IRQ 10
i810: Intel ICH4 mmio at 0xe09e2c00 and 0xe09e4800
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
ac97_codec: AC97 Audio codec, id: ALG64 (Unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
i810_audio: drain_dac, dma timeout?

0000:00:00.0 Host bridge: Intel Corp.: Unknown device 3340 (rev 03)

	Subsystem: Acer Incorporated [ALI]: Unknown device 001f
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 0
	Region 0: Memory at e0000000 (32-bit, prefetchable)
	Capabilities: [e4] #09 [f104]
	Capabilities: [a0] AGP version 2.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=1 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4

00: 86 80 40 33 06 01 90 20 03 00 00 06 00 00 00 00 10: 08 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00 30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00

0000:00:01.0 PCI bridge: Intel Corp.: Unknown device 3341 (rev 03) (prog-if 00 [Normal decode])

	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 96
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: d0100000-d01fffff
	Prefetchable memory behind bridge: d8000000-dfffffff
	Expansion ROM at 00003000 [disabled] [size=4K]
	BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

00: 86 80 41 33 07 01 a0 00 03 00 04 06 00 60 01 00 10: 00 00 00 00 00 00 00 00 00 01 01 40 30 30 a0 22 20: 10 d0 10 d0 00 d8 f0 df 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0c 00

0000:00:1d.0 USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 03) (prog-if 00 [UHCI])
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 10
Region 4: I/O ports at 1800 [size=32]
00: 86 80 c2 24 05 00 80 02 03 00 03 0c 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 18 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 01 00 00

0000:00:1d.1 USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 03) (prog-if 00 [UHCI])
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 5
Region 4: I/O ports at 1820 [size=32]
00: 86 80 c4 24 05 00 80 02 03 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 21 18 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 05 02 00 00

0000:00:1d.2 USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 03) (prog-if 00 [UHCI])
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin C routed to IRQ 10
Region 4: I/O ports at 1840 [size=32]
00: 86 80 c7 24 05 00 80 02 03 00 03 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 41 18 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 03 00 00

0000:00:1d.7 USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 03) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin D routed to IRQ 10
Region 0: Memory at d0000000 (32-bit, non-prefetchable)
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] #0a [2080]
00: 86 80 cd 24 06 01 90 02 03 20 03 0c 00 00 00 00
10: 00 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 04 00 00

0000:00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 83) (prog-if 00 [Normal decode])

	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR+
	Latency: 0
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: d0200000-d05fffff
	BridgeCtl: Parity- SERR- NoISA+ VGA- MAbort- >Reset- FastB2B-

00: 86 80 48 24 07 01 80 80 83 00 04 06 00 00 01 00 10: 00 00 00 00 00 00 00 00 00 02 02 40 40 40 80 22 20: 20 d0 50 d0 f0 ff 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00

0000:00:1f.0 ISA bridge: Intel Corp.: Unknown device 24cc (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00: 86 80 cc 24 0f 00 80 02 03 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:00:1f.1 IDE interface: Intel Corp.: Unknown device 24ca (rev 03) (prog-if 8a [Master SecP PriP])
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at <unassigned>
Region 1: I/O ports at <unassigned>
Region 2: I/O ports at <unassigned>
Region 3: I/O ports at <unassigned>
Region 4: I/O ports at 1860 [size=16]
Region 5: Memory at 20000000 (32-bit, non-prefetchable) [size=1K]
00: 86 80 ca 24 07 00 80 02 03 8a 01 01 00 00 00 00
10: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00
20: 61 18 00 00 00 00 00 20 00 00 00 00 25 10 1f 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 01 00 00

0000:00:1f.3 SMBus: Intel Corp. 82801DB SMBus (rev 03)
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at 1880 [size=32]
00: 86 80 c3 24 01 00 80 02 03 00 05 0c 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 81 18 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0a 02 00 00

0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 03)
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 10
Region 0: I/O ports at 1c00
Region 1: I/O ports at 18c0 [size=64]
Region 2: Memory at d0000c00 (32-bit, non-prefetchable) [size=512]
Region 3: Memory at d0000800 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 c5 24 07 00 90 02 03 00 01 04 00 00 00 00
10: 01 1c 00 00 c1 18 00 00 00 0c 00 d0 00 08 00 d0
20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 02 00 00

0000:00:1f.6 Modem: Intel Corp. 82801DB AC'97 Modem (rev 03) (prog-if 00 [Generic])
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Interrupt: pin B routed to IRQ 10
Region 0: I/O ports at 2400
Region 1: I/O ports at 2000 [size=128]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 86 80 c6 24 05 00 90 02 03 00 03 07 00 00 00 00
10: 01 24 00 00 01 20 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 02 00 00

0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [Radeon Mobility 9000] (rev 01) (prog-if 00 [VGA])

	Subsystem: Acer Incorporated [ALI]: Unknown device 001f
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B+
	Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 66 (2000ns min), cache line size 08
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at d8000000 (32-bit, prefetchable)
	Region 1: I/O ports at 3000 [size=256]
	Region 2: Memory at d0100000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [58] AGP version 2.0
		Status: RQ=48 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
	Capabilities: [50] Power Management version 2
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00: 02 10 66 4c 87 03 b0 02 01 00 00 03 08 42 00 00 10: 08 00 00 d8 01 30 00 00 00 00 10 d0 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00 30: 00 00 00 00 58 00 00 00 00 00 00 00 0a 01 08 00

0000:02:02.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin A routed to IRQ 5
Region 0: Memory at d0204000 (32-bit, non-prefetchable)
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-
00: e4 14 01 44 06 01 10 00 01 00 00 02 00 40 00 00
10: 00 40 20 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 40 00 00 00 00 00 00 00 05 01 00 00

0000:02:04.0 Network controller: Intel Corp.: Unknown device 1043 (rev 04)
Subsystem: Intel Corp.: Unknown device 2527
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 8500ns max), cache line size 08
Interrupt: pin A routed to IRQ 11
Region 0: Memory at d0206000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
00: 86 80 43 10 16 01 90 02 04 00 80 02 08 40 00 00
10: 00 60 20 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 27 25
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 02 22

0000:02:06.0 CardBus bridge: O2 Micro, Inc.: Unknown device 7114 (rev 20)

	Subsystem: Acer Incorporated [ALI]: Unknown device 001f
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Interrupt: pin A routed to IRQ 10
	Region 0: Memory at d0207000 (32-bit, non-prefetchable)
	Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
	Memory window 0: d0400000-d04ff000 (prefetchable)
	Memory window 1: d0300000-d03ff000 (prefetchable)
	I/O window 0: 00004400-000044ff
	I/O window 1: 00004000-000040ff
	BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset+ 16bInt+ PostWrite-
	16-bit legacy interface ports at 0001

00: 17 12 14 71 87 01 10 04 20 00 07 06 00 40 82 00 10: 00 70 20 d0 a0 00 00 02 02 03 06 b0 00 00 40 d0 20: 00 f0 4f d0 00 00 30 d0 00 f0 3f d0 01 44 00 00 30: fd 44 00 00 01 40 00 00 fd 40 00 00 ff 01 c0 03 40: 25 10 1f 00 01 00 00 00 00 00 00 00 00 00 00 00 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:02:06.1 CardBus bridge: O2 Micro, Inc.: Unknown device 7114 (rev 20)
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: Memory at 20001000 (32-bit, non-prefetchable) [disabled]
Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
I/O window 0: 00000000-00000003 [disabled]
I/O window 1: 00000000-00000003 [disabled]
BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt- PostWrite-
16-bit legacy interface ports at 0001
00: 17 12 14 71 80 00 10 04 20 00 07 06 00 00 82 00
10: 00 10 00 20 a0 00 00 02 02 07 0a b0 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00
30: 01 00 00 00 01 00 00 00 01 00 00 00 00 01 00 00
40: 25 10 1f 00 01 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

0000:02:06.2 System peripheral: O2 Micro, Inc.: Unknown device 7110
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: Memory at d0208000 (32-bit, non-prefetchable)
Capabilities: [a0] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 17 12 10 71 03 01 10 04 00 00 80 08 08 40 00 00
10: 00 80 20 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 a0 00 00 00 00 00 00 00 0a 01 00 00

0000:02:07.0 FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI]: Unknown device 001f
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (500ns min, 1000ns max), cache line size 08
Interrupt: pin A routed to IRQ 10
Region 0: Memory at d0209000 (32-bit, non-prefetchable)
Region 1: Memory at d0200000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 4c 10 26 80 16 01 10 02 00 10 00 0c 08 40 00 00
10: 00 90 20 d0 00 00 20 d0 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 25 10 1f 00
30: 00 00 00 00 44 00 00 00 00 00 00 00 0a 01 02 04

/***************************************************************************
* Copyright (C) 2004 by Stefan Dösinger *

 *   [email protected]                                                *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *

***************************************************************************/
/*This driver provides an empty suspend and resume function for the sound card and the modem built into the Acer Travelmate 800. This is to prevent the default resume function of the kernel from crashing the system.*/

#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>

MODULE_DESCRIPTION("My kernel module"); MODULE_AUTHOR("Stefan Dösinger ([email protected])"); MODULE_LICENSE("GPL");

static struct pci_device_id dummy_pci_tbl [] = {
	{0x8086, 0x24c5, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},	/*Sound card*/
	{0x8086, 0x24c6, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* Modem */

// {0x1217, 0x7114, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* pcmcia */
// {0x1217, 0x7110, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* unknown */
// {0x104c, 0x8026, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* firewire */
// {0x8086, 0x24c2, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* usb */
// {0x8086, 0x24c4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* usb*/
// {0x8086, 0x24c7, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* usb*/

	{0x8086, 0x24cd, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, /* usb */
	{0,}
};

static int dummy_pm_suspend(struct pci_dev *dev, u32 pm_state)

{
	printk("%s: not doing anything\n", __FUNCTION__);
	return 0;
}

static int dummy_pm_resume(struct pci_dev *dev)

{
	printk("%s: not doing anything\n", __FUNCTION__);
	return 0;
}

static void __devexit dummy_remove(struct pci_dev *pci_dev)

{
	printk("%s\n", __FUNCTION__);

	return;
}

static int __devinit dummy_probe(struct pci_dev *pci_dev, const struct pci_device_id *pci_id)

{
	printk("%s\n", __FUNCTION__);
	return 0;
}
static struct pci_driver dummy_pci_driver = {
	.name		= "dummy_driver",
	.id_table	= dummy_pci_tbl,
	.probe		= dummy_probe,
	.remove		= __devexit_p(dummy_remove),
#ifdef CONFIG_PM
	.suspend	= dummy_pm_suspend,
	.resume		= dummy_pm_resume,

#endif /* CONFIG_PM */
};

static int dummydriver_init_module(void)

{
	printk( KERN_DEBUG "Module dummydriver init\n" );
	
	if (!pci_register_driver(&dummy_pci_driver))
	{
		pci_unregister_driver(&dummy_pci_driver);
                return -ENODEV;
	}
	
	return 0;
}

static void dummydriver_exit_module(void)

{
	printk( KERN_DEBUG "Module dummydriver exit\n" );
	pci_unregister_driver(&dummy_pci_driver);
}

module_init(dummydriver_init_module);
module_exit(dummydriver_exit_module);