linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: PATCH: libata PATA patches
  2005-11-08 14:33 PATCH: libata PATA patches Alan Cox
@ 2005-11-08 14:13 ` Adrian Bunk
  2005-11-08 16:46   ` Alan Cox
  2005-11-09 13:31 ` Sergei Shtylylov
  1 sibling, 1 reply; 6+ messages in thread
From: Adrian Bunk @ 2005-11-08 14:13 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide, linux-kernel

On Tue, Nov 08, 2005 at 02:33:06PM +0000, Alan Cox wrote:

> I've put a new patch versus 2.6.14-mm1 on 
> http://zeniv.linux.org.uk/~alan/IDE

I'm wondering about the -m32 additions at the top of your patch.

Shouldn't the following at the top of arch/i386/Makefile already do the 
same?

HAS_BIARCH      := $(call cc-option-yn, -m32)
ifeq ($(HAS_BIARCH),y)
AS              := $(AS) --32
LD              := $(LD) -m elf_i386
CC              := $(CC) -m32
endif



> Alan

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

^ permalink raw reply	[flat|nested] 6+ messages in thread

* PATCH: libata PATA patches
@ 2005-11-08 14:33 Alan Cox
  2005-11-08 14:13 ` Adrian Bunk
  2005-11-09 13:31 ` Sergei Shtylylov
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Cox @ 2005-11-08 14:33 UTC (permalink / raw)
  To: linux-ide, linux-kernel

I've put a new patch versus 2.6.14-mm1 on 
http://zeniv.linux.org.uk/~alan/IDE

Alan

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PATCH: libata PATA patches
  2005-11-08 14:13 ` Adrian Bunk
@ 2005-11-08 16:46   ` Alan Cox
  0 siblings, 0 replies; 6+ messages in thread
From: Alan Cox @ 2005-11-08 16:46 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-ide, linux-kernel

On Maw, 2005-11-08 at 15:13 +0100, Adrian Bunk wrote:
> Shouldn't the following at the top of arch/i386/Makefile already do the 
> same?
> 
> HAS_BIARCH      := $(call cc-option-yn, -m32)
> ifeq ($(HAS_BIARCH),y)
> AS              := $(AS) --32
> LD              := $(LD) -m elf_i386
> CC              := $(CC) -m32
> endif
> 

Its just left overs from my old build patches I forgot to clean out.
Harmless however.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PATCH: libata PATA patches
  2005-11-08 14:33 PATCH: libata PATA patches Alan Cox
  2005-11-08 14:13 ` Adrian Bunk
@ 2005-11-09 13:31 ` Sergei Shtylylov
  2005-11-09 15:23   ` Sergei Shtylylov
  2005-11-09 15:52   ` Alan Cox
  1 sibling, 2 replies; 6+ messages in thread
From: Sergei Shtylylov @ 2005-11-09 13:31 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide, linux-kernel

Hello.

Alan Cox wrote:

> I've put a new patch versus 2.6.14-mm1 on 
> http://zeniv.linux.org.uk/~alan/IDE

    I found somewhat strange that you check for 0xABCDExxx signature in 32-bit 
PCI config. reg. 0x78 while HighPoint's own drivers read BM reg. 0x90 (i.e. 
PCI config. 0x70) for that. PCI reg. 0x7A is DPLL precision adjust reg. and 
0x7B is the input clock select and IRQ reg., so it'd be quite strange if the 
BIOS used them for any kind of signature...

WBR, Sergei

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PATCH: libata PATA patches
  2005-11-09 13:31 ` Sergei Shtylylov
@ 2005-11-09 15:23   ` Sergei Shtylylov
  2005-11-09 15:52   ` Alan Cox
  1 sibling, 0 replies; 6+ messages in thread
From: Sergei Shtylylov @ 2005-11-09 15:23 UTC (permalink / raw)
  To: Alan Cox; +Cc: linux-ide, linux-kernel

Hello, I wrote:

> Alan Cox wrote:
> 
>> I've put a new patch versus 2.6.14-mm1 on 
>> http://zeniv.linux.org.uk/~alan/IDE
> 
> 
>    I found somewhat strange that you check for 0xABCDExxx signature in 
> 32-bit PCI config. reg. 0x78 while HighPoint's own drivers read BM reg. 
> 0x90 (i.e. PCI config. 0x70) for that. PCI reg. 0x7A is DPLL precision 
> adjust reg. and 0x7B is the input clock select and IRQ reg., so it'd be 
> quite strange if the BIOS used them for any kind of signature...

    Pardon me for being too hasty. :-)
    I was talking about drivers/scsi/pata_hpt37x.c

WBR, Sergei

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: PATCH: libata PATA patches
  2005-11-09 13:31 ` Sergei Shtylylov
  2005-11-09 15:23   ` Sergei Shtylylov
@ 2005-11-09 15:52   ` Alan Cox
  1 sibling, 0 replies; 6+ messages in thread
From: Alan Cox @ 2005-11-09 15:52 UTC (permalink / raw)
  To: Sergei Shtylylov; +Cc: linux-ide, linux-kernel

On Mer, 2005-11-09 at 16:31 +0300, Sergei Shtylylov wrote:
>     I found somewhat strange that you check for 0xABCDExxx signature in 32-bit 
> PCI config. reg. 0x78 while HighPoint's own drivers read BM reg. 0x90 (i.e. 
> PCI config. 0x70) for that. PCI reg. 0x7A is DPLL precision adjust reg. and 
> 0x7B is the input clock select and IRQ reg., so it'd be quite strange if the 
> BIOS used them for any kind of signature...

Yeah thats a bug. What I get for reading the comments in the old driver
and not double checking against the HPT reference code. Thanks

Alan


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-11-09 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-08 14:33 PATCH: libata PATA patches Alan Cox
2005-11-08 14:13 ` Adrian Bunk
2005-11-08 16:46   ` Alan Cox
2005-11-09 13:31 ` Sergei Shtylylov
2005-11-09 15:23   ` Sergei Shtylylov
2005-11-09 15:52   ` Alan Cox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).