Re: [PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bartlomiej Zolnierkiewicz <bzolnier@...>
Cc: Andrew Morton <akpm@...>, <torvalds@...>, <linux-kernel@...>, Alan Cox <alan@...>, Benjamin Herrenschmidt <benh@...>, <linux-ide@...>
Date: Thursday, November 15, 2007 - 4:52 am

Hi, thanks for the reply. :)

Bartlomiej Zolnierkiewicz wrote:

I am not sure about the chip-set but I think it was vt82c686b. It used 
the via82cxxx-driver, but only _after_ using the generic ide-code to 
probe/wait (a long time) for the disks. (This was in Suse 10.1 SP 1.)


Sorry. :( I don't have access to the hardware anymore (which is a 
"home-made" embedded machine). But from what I could get from poking 
around was that the BSY-bit on the slave (that never has or ever will 
exists) was set, probably because those who built the thing wanted to 
save money and/or space on that "billionth of a cent"-resistor that Alan 
Cox talked about.


It didn't stall for me... But even if it had, probe_hwif() will ignore 
the entire controller if you set "idex=noprobe".

(From drivers/ide/ide-probe.c)

static void probe_hwif(ide_hwif_t *hwif, void (*fixup)(ide_hwif_t *hwif))
{
         unsigned int unit;
         unsigned long flags;
         unsigned int irqd;

         if (hwif->noprobe)
                 return;



Great comment. :) I'll change that right away...


Mmmm, yes, I know. But I couldn't come up with a clean and nice way to 
be sure that the first drive is selected. Maybe I could move it inside 
the if-statement below?

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1, Jonas Stare, (Fri Nov 9, 6:22 am)
Re: [PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1, Andrew Morton, (Mon Nov 12, 5:24 pm)
Re: [PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1, Bartlomiej Zolnierkiewicz..., (Tue Nov 13, 6:03 pm)
Re: [PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1, Jonas Stare, (Thu Nov 15, 4:52 am)
Re: [PATCH] drivers/ide/ide-probe.c, kernel 2.6.23.1, Bartlomiej Zolnierkiewicz..., (Thu Nov 15, 4:59 pm)
Re: [PATCH][RESUBMIT] drivers/ide/ide-probe.c, kernel 2.6.23.1, Bartlomiej Zolnierkiewicz..., (Fri Nov 16, 5:22 pm)
Re: [PATCH] drivers/ide/ide-probe.c Skip ide_wait_not_busy o..., Bartlomiej Zolnierkiewicz..., (Sun Nov 18, 5:39 pm)