Bug 129154

Summary: Add support for Marvell PATA M88SX6121
Product: Base System Reporter: Joao Barros <joao.barros>
Component: kernAssignee: Rui Paulo <rpaulo>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Joao Barros 2008-11-25 00:30:06 UTC
Correctly identify the Marvell M88SX6121 as a PATA controller with one channel.
This controller can be found and patch was tested on an Asus P5Q Pro motherboard.

Fix: Apply the patch :-)

Patch attached with submission follows:
How-To-Repeat: N/A
Comment 1 Rui Paulo freebsd_committer freebsd_triage 2008-11-25 15:46:19 UTC
State Changed
From-To: open->closed

Committed, thanks. 


Comment 2 Rui Paulo freebsd_committer freebsd_triage 2008-11-25 15:46:19 UTC
Responsible Changed
From-To: freebsd-bugs->rpaulo

Mine.
Comment 3 Rui Paulo freebsd_committer freebsd_triage 2008-11-29 14:14:32 UTC
State Changed
From-To: closed->patched

Should be patched instead of closed. Will close after MFC is done.
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-01-12 22:37:26 UTC
Author: rpaulo
Date: Mon Jan 12 22:37:05 2009
New Revision: 187119
URL: http://svn.freebsd.org/changeset/base/187119

Log:
  MFC r185268:
  
  Add support for Marvell PATA M88SX6121.
  
  PR:		129154
  Submitted by:	João Barros <joao.barros at gmail.com>

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/dev/ata/ata-chipset.c
  stable/7/sys/dev/ata/ata-pci.h

Modified: stable/7/sys/dev/ata/ata-chipset.c
==============================================================================
--- stable/7/sys/dev/ata/ata-chipset.c	Mon Jan 12 22:01:49 2009	(r187118)
+++ stable/7/sys/dev/ata/ata-chipset.c	Mon Jan 12 22:37:05 2009	(r187119)
@@ -2555,6 +2555,7 @@ ata_marvell_ident(device_t dev)
      { ATA_M88SX6041, 0, 4, MV60XX, ATA_SA300, "88SX6041" },
      { ATA_M88SX6081, 0, 8, MV60XX, ATA_SA300, "88SX6081" },
      { ATA_M88SX6101, 0, 1, MV61XX, ATA_UDMA6, "88SX6101" },
+     { ATA_M88SX6121, 0, 1, MV_61XX, ATA_UDMA6, "88SX6121" },
      { ATA_M88SX6145, 0, 2, MV61XX, ATA_UDMA6, "88SX6145" },
      { 0, 0, 0, 0, 0, 0}};
 

Modified: stable/7/sys/dev/ata/ata-pci.h
==============================================================================
--- stable/7/sys/dev/ata/ata-pci.h	Mon Jan 12 22:01:49 2009	(r187118)
+++ stable/7/sys/dev/ata/ata-pci.h	Mon Jan 12 22:37:05 2009	(r187119)
@@ -211,6 +211,7 @@ struct ata_connect_task {
 #define ATA_M88SX6041           0x604111ab
 #define ATA_M88SX6081           0x608111ab
 #define ATA_M88SX6101           0x610111ab
+#define ATA_M88SX6121           0x612111ab
 #define ATA_M88SX6145           0x614511ab
 
 #define ATA_MICRON_ID           0x1042
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 5 Rui Paulo freebsd_committer freebsd_triage 2009-01-12 22:37:49 UTC
State Changed
From-To: patched->closed

MFCed to RELENG_7.