public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz
Cc: c-d.hailfinger.devel.2005@gmx.net
Subject: [PATCH] pci/quirks.c: unhide SMBus device on Samsung P35 laptop
Date: Fri, 4 Mar 2005 12:53:57 -0800	[thread overview]
Message-ID: <1109969637195@kroah.com> (raw)
In-Reply-To: <11099696373155@kroah.com>

ChangeSet 1.1998.11.20, 2005/02/17 15:06:37-08:00, c-d.hailfinger.devel.2005@gmx.net

[PATCH] pci/quirks.c: unhide SMBus device on Samsung P35 laptop

this patch is needed to make the SMBus device on my Samsung P35
laptop visible. By default, it doesn't appear as a pci device.

Patch tested, works perfectly for me. Please apply.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005@gmx.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>


 drivers/pci/quirks.c    |    6 ++++++
 include/linux/pci_ids.h |    2 ++
 2 files changed, 8 insertions(+)


diff -Nru a/drivers/pci/quirks.c b/drivers/pci/quirks.c
--- a/drivers/pci/quirks.c	2005-03-04 12:41:55 -08:00
+++ b/drivers/pci/quirks.c	2005-03-04 12:41:55 -08:00
@@ -807,6 +807,12 @@
 			case 0x0001: /* Toshiba Satellite A40 */
 				asus_hides_smbus = 1;
 			}
+       } else if (unlikely(dev->subsystem_vendor == PCI_VENDOR_ID_SAMSUNG)) {
+               if (dev->device ==  PCI_DEVICE_ID_INTEL_82855PM_HB)
+                       switch(dev->subsystem_device) {
+                       case 0xC00C: /* Samsung P35 notebook */
+                               asus_hides_smbus = 1;
+                       }
 	}
 }
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL,	PCI_DEVICE_ID_INTEL_82845_HB,	asus_hides_smbus_hostbridge );
diff -Nru a/include/linux/pci_ids.h b/include/linux/pci_ids.h
--- a/include/linux/pci_ids.h	2005-03-04 12:41:55 -08:00
+++ b/include/linux/pci_ids.h	2005-03-04 12:41:55 -08:00
@@ -1905,6 +1905,8 @@
 #define PCI_DEVICE_ID_OXSEMI_16PCI954PP	0x9513
 #define PCI_DEVICE_ID_OXSEMI_16PCI952	0x9521
 
+#define PCI_VENDOR_ID_SAMSUNG		0x144d
+
 #define PCI_VENDOR_ID_AIRONET		0x14b9
 #define PCI_DEVICE_ID_AIRONET_4800_1	0x0001
 #define PCI_DEVICE_ID_AIRONET_4800	0x4500 // values switched?  see


  reply	other threads:[~2005-03-05  4:35 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-04 20:53 [BK PATCH] PCI update for 2.6.11 Greg KH
2005-03-04 20:53 ` [PATCH] convert pci_dev->slot_name usage to pci_name() Greg KH
2005-03-04 20:53   ` [PATCH] Remove pci_dev->slot_name Greg KH
2005-03-04 20:53     ` [PATCH] PCI Hotplug: Remove unneeded instructions from ibmphp_pci.c Greg KH
2005-03-04 20:53       ` [PATCH] PCI: pci_proc_domain Greg KH
2005-03-04 20:53         ` [PATCH] PCI: Make pci_claim_resource __devinit Greg KH
2005-03-04 20:53           ` [PATCH] PCI: fix pci_remove_legacy_files() crash Greg KH
2005-03-04 20:53             ` [PATCH] PCI: NUMA-Q PCI config access arg validation Greg KH
2005-03-04 20:53               ` [PATCH] PCI: pci_raw_ops should use unsigned args Greg KH
2005-03-04 20:53                 ` [PATCH] arch/i386/kernel/pci/irq.c: Wrong message output Greg KH
2005-03-04 20:53                   ` [PATCH] PCI: Dynids - passing driver data Greg KH
2005-03-04 20:53                     ` [PATCH] drivers/pci/*: convert to pci_register_driver Greg KH
2005-03-04 20:53                       ` [PATCH] PCI Hotplug: Fix OSHP calls in shpchp and pciehp drivers Greg KH
2005-03-04 20:53                         ` [PATCH] PCI: Add PCI quirk for SMBus on the Toshiba Satellite A40 Greg KH
2005-03-04 20:53                           ` [PATCH] PCI: allow x86_64 to do pci express Greg KH
2005-03-04 20:53                             ` Greg KH [this message]
2005-03-04 20:53                               ` [PATCH] PCI: clean up the msi api Greg KH
2005-03-04 21:00   ` [PATCH] convert pci_dev->slot_name usage to pci_name() Jeff Garzik
2005-03-04 21:07     ` Greg KH
2005-03-04 23:00       ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2005-02-17  2:49 [PATCH] pci/quirks.c: unhide SMBus device on Samsung P35 laptop Carl-Daniel Hailfinger
2005-02-17 23:17 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1109969637195@kroah.com \
    --to=greg@kroah.com \
    --cc=c-d.hailfinger.devel.2005@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@atrey.karlin.mff.cuni.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox