lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Mon, 21 Aug 2006 17:24:52 +0100
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	Bahadir Balban <bahadir.balban@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: disabling dma/new ide interface 2.6.18-rc4-mm1

Ar Llu, 2006-08-21 am 15:27 +0100, ysgrifennodd Bahadir Balban:
> Hi,
> 
> I am trying to implement a basic ide driver based on ata_generic.c.
> Its a pio-only device.
> 
> How do I disable dma on the new interface? Changing ata_port_info fields?

ata_generic.c assumes the BIOS set up the timings and the device follows
PCI SFF. In those cases it already correctly handles PIO only
controllers.

If you are trying to write a driver for a non PCI motherboard device (Eg
on an embedded board) then drivers/ata/pata_qdi.c may be a better
example to follow as it sets up all the device ports by hand as a
platform device.

If you want PIO only then don't provide mwdma or udma mode masks in the
ata_port_info.

Alan

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ