> The big question of course is whether it will survive a make build
> with the change that removes the restriction of only using Ultra-DMA
> up to mode 2, but without the fixes in pciide.c.
> 
> Beware, that might actually eat your filesystem.
> 

I'm doing this right now. I'm running a make build as we speak. I'm not sure
when it should fuck up the filesystem.

before:

pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST340014A>
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <ST340014A>
wd1: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2

after:

pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST340014A>
wd0: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
wd1 at pciide0 channel 1 drive 0: <ST340014A>
wd1: 16-sector PIO, LBA48, 38166MB, 78165360 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4

diff i used:

Index: arch/sparc64/conf/GENERIC
===================================================================
RCS file: /home/cvs/src/sys/arch/sparc64/conf/GENERIC,v
retrieving revision 1.261
diff -u -p -r1.261 GENERIC
--- arch/sparc64/conf/GENERIC   12 Dec 2010 14:33:57 -0000      1.261
+++ arch/sparc64/conf/GENERIC   11 Jan 2011 23:41:06 -0000
@@ -381,7 +381,7 @@ stty*               at spif?
 sbpp*          at spif?
 
 pciide*        at pci? flags 0x0000
-wd*    at pciide? flags 0x0a00
+wd*    at pciide? flags 0x0000
 atapiscsi* at pciide?
 scsibus* at atapiscsi?
 
Index: arch/sparc64/conf/RAMDISK
===================================================================
RCS file: /home/cvs/src/sys/arch/sparc64/conf/RAMDISK,v
retrieving revision 1.98
diff -u -p -r1.98 RAMDISK
--- arch/sparc64/conf/RAMDISK   19 Apr 2010 10:44:33 -0000      1.98
+++ arch/sparc64/conf/RAMDISK   11 Jan 2011 23:41:13 -0000
@@ -151,7 +151,7 @@ ti* at sbus?
 gem*   at sbus?
 
 pciide*        at pci? flags 0x0000
-wd*    at pciide? flags 0x0a00
+wd*    at pciide? flags 0x0000
 atapiscsi* at pciide?
 scsibus* at atapiscsi?
 
Index: arch/sparc64/conf/RAMDISKU5
===================================================================
RCS file: /home/cvs/src/sys/arch/sparc64/conf/RAMDISKU5,v
retrieving revision 1.16
diff -u -p -r1.16 RAMDISKU5
--- arch/sparc64/conf/RAMDISKU5 24 Jun 2009 11:38:40 -0000      1.16
+++ arch/sparc64/conf/RAMDISKU5 11 Jan 2011 23:41:30 -0000
@@ -55,7 +55,7 @@ pcons0        at mainbus0             # PROM console
 timer* at mainbus0             # Timer chip (some systems)
 
 pciide*        at pci? flags 0x0000
-wd*    at pciide? flags 0x0a00
+wd*    at pciide? flags 0x0000
 atapiscsi* at pciide?
 scsibus* at atapiscsi?

Reply via email to