Re: [PATCH] pdc20265 problem.

Nick Orlov (nick.orlov@mail.ru)
Thu, 01 Aug 2002 22:29:33 -0400


--Boundary_(ID_s4tXb6iuHF57NJdU+vQjzA)
Content-type: text/plain; charset=koi8-r
Content-transfer-encoding: 7BIT
Content-disposition: inline

On Thu, Aug 01, 2002 at 09:47:28PM -0400, Nick Orlov wrote:
>
> > <marcelo@plucky.distro.conectiva> (02/07/19 1.646)
> > Fix wrong #ifdef in ide-pci.c: Was causing problems with FastTrak
>
> Because of this fix my Promise 20265 became ide0 instead of ide2.
> Is there any reason to mark pdc20265 as ON_BOARD controller?
>
> Anyway, attached patch fix it for me :)
>

Sorry, wrong diff format. Rediffed and attached.

-- 
With best wishes,
	Nick Orlov.

--Boundary_(ID_s4tXb6iuHF57NJdU+vQjzA) Content-type: text/plain; charset=koi8-r; NAME=pdc20265.patch Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=pdc20265.patch

--- linux/drivers/ide/ide-pci.c.orig 2002-08-01 21:41:29.000000000 -0400 +++ linux/drivers/ide/ide-pci.c 2002-08-01 21:10:27.000000000 -0400 @@ -405,7 +405,7 @@ #ifndef CONFIG_PDC202XX_FORCE {DEVID_PDC20246,"PDC20246", PCI_PDC202XX, NULL, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 16 }, {DEVID_PDC20262,"PDC20262", PCI_PDC202XX, ATA66_PDC202XX, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 48 }, - {DEVID_PDC20265,"PDC20265", PCI_PDC202XX, ATA66_PDC202XX, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, ON_BOARD, 48 }, + {DEVID_PDC20265,"PDC20265", PCI_PDC202XX, ATA66_PDC202XX, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 48 }, {DEVID_PDC20267,"PDC20267", PCI_PDC202XX, ATA66_PDC202XX, INIT_PDC202XX, NULL, {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, OFF_BOARD, 48 }, #else /* !CONFIG_PDC202XX_FORCE */ {DEVID_PDC20246,"PDC20246", PCI_PDC202XX, NULL, INIT_PDC202XX, NULL, {{0x50,0x02,0x02}, {0x50,0x04,0x04}}, OFF_BOARD, 16 },

--Boundary_(ID_s4tXb6iuHF57NJdU+vQjzA)-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/