Subject: Dell Latitude D620
To: None <port-i386@netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: port-i386
Date: 05/05/2006 16:48:06
I'm trying to get current going on a new Dell Latitude D620 laptop.

It does the basic install fine but there are some issues.  Full dmesg output 
from the GENERIC kernel can been seen at 
http://www.mcs.vuw.ac.nz/~mark/dmesg.GENERIC

The following two patches fix the device identification and pciide/piixide 
issues:

Index: pcidevs
===================================================================
RCS file: /src/cvs/netbsd/src/sys/dev/pci/pcidevs,v
retrieving revision 1.786
diff -u -r1.786 pcidevs
--- pcidevs	30 Apr 2006 18:57:51 -0000	1.786
+++ pcidevs	4 May 2006 14:15:38 -0000
@@ -2060,12 +2060,16 @@
 product INTEL 82955X_EXP	0x2775	82955X PCI Express Bridge
 product INTEL 82915G_IGDC	0x2782	82915G/GL IGD Companion
 product INTEL 82915GM_IGDC	0x2792	82915GM/GMS IGD Companion
+product INTEL 82945GM_HB	0x27a0	82945GM/PM/GMS Host Bridge
+product INTEL 82945GM_IGD	0x27a2	82945GM/PM/GMS Integrated Graphics Device
+product INTEL 82945GM_IGD_1	0x27a6	82945GM/PM/GMS Integrated Graphics Device
 product INTEL 82801G_LPC	0x27b8	82801GB/GR LPC Interface Bridge
 product INTEL 82801GBM_LPC	0x27b9	82801GBM LPC Interface Bridge
 product INTEL 82801GHM_LPC	0x27bd	82801GHM LPC Interface Bridge
 product INTEL 82801G_SATA	0x27c0	82801GB/GR SATA Controller
 product INTEL 82801G_SATA_AHCI	0x27c1	82801GB/GR AHCI SATA Controller
 product INTEL 82801G_SATA_RAID	0x27c3	82801GB/GR RAID SATA Controller
+product INTEL 82801GBM_SATA	0x27c4	82801GBM/GHM SATA Controller
 product INTEL 82801G_USB_1	0x27c8	82801GB/GR USB UHCI Controller
 product INTEL 82801G_USB_2	0x27c9	82801GB/GR USB UHCI Controller
 product INTEL 82801G_USB_3	0x27ca	82801GB/GR USB UHCI Controller
@@ -2102,6 +2106,7 @@
 product INTEL E7525_PCIE_B	0x3597	E7525 PCI Express Port B
 product INTEL PRO_WL_2200BG	0x4220	PRO/Wireless LAN 2200BG Mini-PCI Adapter
 product INTEL PRO_WL_2225BG	0x4221	PRO/Wireless LAN 2225BG Mini-PCI Adapter
+product INTEL PRO_WL_3945ABG_1	0x4222	PRO/Wireless LAN 3945ABG Mini-PCI 
Adapter
 product INTEL PRO_WL_2915ABG_1	0x4223	PRO/Wireless LAN 2915ABG Mini-PCI 
Adapter
 product INTEL PRO_WL_2915ABG_2	0x4224	PRO/Wireless LAN 2915ABG Mini-PCI 
Adapter
 product INTEL 80312_ATU		0x530d	80310 ATU

Index: piixide.c
===================================================================
RCS file: /src/cvs/netbsd/src/sys/dev/pci/piixide.c,v
retrieving revision 1.25
diff -u -r1.25 piixide.c
--- piixide.c	11 Dec 2005 12:22:50 -0000	1.25
+++ piixide.c	5 May 2006 02:03:46 -0000
@@ -179,6 +179,11 @@
 	  "Intel 82801GB/GR Serial ATA/Raid Controller (ICH7)",
 	  piixsata_chip_map,
 	},
+	{ PCI_PRODUCT_INTEL_82801GBM_SATA,
+	  0,
+	  "Intel 82801GBM/GHM Serial ATA Controller (ICH7)",
+	  piixsata_chip_map,
+	},
 	{ 0,
 	  0,
 	  NULL,

Unless someone sees a problem with these I'll commit them.

Remaining problems:

1) bge is borked.

bge0 at pci3 dev 0 function 0: Broadcom BCM5752 Gigabit Ethernet
bge0: interrupting at irq 5
bge0: firmware handshake timed out, val = 0
bge0: RX CPU self-diagnostics failed!
bge0: chip initialization failed

I've mentioned this to Jonathan and he said he'd take a look but in case 
anyone else has suggestions...

2) Having the PRO/Wireless 3945ABG be more than just identified.

It looks like Damien Bergamini has started work on a *BSD 3945 driver so 
hopefully this will happen at some point.

3) cpu identification and speedstep.

cpu0: Intel Pentium Pro, II or III (686-class), 1828.84 MHz, id 0x6e8
cpu0: features bfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfe9fbff<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features bfe9fbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: features2 c1a9<SSE3,MONITOR,VMX,EST,TM2,xTPR>
cpu0: "Genuine Intel(R) CPU           T2400  @ 1.83GHz"
cpu0: I-cache 32 KB 64B/line 8-way, D-cache 32 KB 64B/line 8-way
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: using thermal monitor 1
cpu0: Enhanced SpeedStep (1404 mV)  - unknown CPU or operating point.
cpu0: 64 page colors

This is a Intel Core Duo box.  I have no idea what needs to be done to teach 
identcpu to print the right thing or to get Speed Step to know about it.

cheers
mark