<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/gnumach.git/linux/src/drivers/block, branch master</title>
<subtitle>Personal GNU Mach development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/'/>
<updated>2014-11-13T00:25:29Z</updated>
<entry>
<title>Add nodma options</title>
<updated>2014-11-13T00:25:29Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-11-13T00:25:29Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=acf1525f4dec4088c075e4d7847be7305873a3a9'/>
<id>urn:sha1:acf1525f4dec4088c075e4d7847be7305873a3a9</id>
<content type='text'>
Some very slow qemu instances would eventually trigger DMA timeouts,
let's give a way to disable DMA there, it does not actually slow down
operations anyway.

* linux/src/drivers/block/ide.h (ide_drive_s): Add nodma field.
* linux/src/drivers/block/ide.c (do_identify): Do not call
dmaproc(ide_dma_check) when nodma is 1.
(ide_setup): Add nodma option.
</content>
</entry>
<entry>
<title>Pass ide and hd kernel options to ide driver</title>
<updated>2014-11-12T13:20:36Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-11-12T13:18:55Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=dccf8be4b40ede12941ff347781fbff9330b2280'/>
<id>urn:sha1:dccf8be4b40ede12941ff347781fbff9330b2280</id>
<content type='text'>
* linux/dev/drivers/block/genhd.c: Include &lt;linux/hdreg.h&gt; and
&lt;alloca.h&gt;
(device_setup): Look for ide and hd options, and call ide_setup with
them.
* linux/src/drivers/block/ide.c (ide_setup) [MACH]: Parse hd[0-7] instead
of hd[a-h].
</content>
</entry>
<entry>
<title>Make open return ENXIO on missing CD-ROM</title>
<updated>2014-02-09T23:41:49Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-02-09T23:41:49Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=be41c805265881172e8004c81dd646ad579c8009'/>
<id>urn:sha1:be41c805265881172e8004c81dd646ad579c8009</id>
<content type='text'>
* linux/src/drivers/block/ide-cd.c (ide_cdrom_open): Return -ENXIO when
CD sense failed.
</content>
</entry>
<entry>
<title>Add quiet flag to CD I/O</title>
<updated>2014-02-09T23:28:36Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-02-09T23:19:30Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=55cdcf3ad3ebec3d9899130fe435a59f8e9e1617'/>
<id>urn:sha1:55cdcf3ad3ebec3d9899130fe435a59f8e9e1617</id>
<content type='text'>
* linux/src/drivers/block/ide-cd.c (cdrom_queue_packet_command): Add `quiet'
parameter, copied into the request.
(cdrom_decode_status): Do not print I/O error when `quiet' field of
request is non-zero.
(cdrom_end_request): Do not print sense results when `quiet' field of
request is non-zero.
(cdrom_check_status, cdrom_read_capacity, cdrom_read_tocentry): Pass 1 to
`cdrom_queue_packet_command''s `quiet' parameter.
(cdrom_lockdoor, cdrom_eject, cdrom_pause, cdrom_startstop,
cdrom_read_subchannel, cdrom_mode_sense, cdrom_mode_select,
cdrom_play_lba_range_1, cdrom_read_block, cdrom_load_unload,
ide_cdrom_ioctl): Pass 0 to `cdrom_queue_packet_command''s `quiet' parameter.
</content>
</entry>
<entry>
<title>Add missing initialization</title>
<updated>2014-02-09T23:18:03Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-02-09T23:18:03Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=219ad2d6c3aa7574ed2e250b305b12a35eec24b3'/>
<id>urn:sha1:219ad2d6c3aa7574ed2e250b305b12a35eec24b3</id>
<content type='text'>
* linux/src/drivers/block/ide.c (ide_init_drive_cmd): Initialize `quiet'
field of request to 0;
</content>
</entry>
<entry>
<title>Add AHCI driver</title>
<updated>2013-05-10T16:59:12Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-05-10T16:56:26Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=75c1b0d1133a7ae6a7eb45818470f453700df1a2'/>
<id>urn:sha1:75c1b0d1133a7ae6a7eb45818470f453700df1a2</id>
<content type='text'>
* linux/dev/glue/kmem.c (vmtophys): New function.
* linux/dev/include/linux/mm.h (vmtophys): New prototype.
* linux/src/include/linux/pci.h (PCI_CLASS_STORAGE_SATA,
PCI_CLASS_STORAGE_SATA_AHCI): New macros.
* linux/dev/drivers/block/ahci.c: New file.
* linux/dev/include/ahci.h: New file.
* linux/Makefrag.am (liblinux_a_SOURCES): Add linux/dev/drivers/block/ahci.c
and linux/dev/drivers/block/ahci.h.
* linux/src/drivers/block/ide.c: Include &lt;ahci.h&gt;.
(probe_for_hwifs): Call ahci_probe_pci.
</content>
</entry>
<entry>
<title>ide: Increase WAIT_DRQ to accomodate some CF cards and SSD drives.</title>
<updated>2012-12-21T18:13:36Z</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2009-12-03T05:58:33Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=db8ec819c3863040aceae97ab35ef5c6ef3c898f'/>
<id>urn:sha1:db8ec819c3863040aceae97ab35ef5c6ef3c898f</id>
<content type='text'>
Based upon a patch by Philippe De Muyter, and feedback from Mark
Lord and Robert Hancock.

As noted by Mark Lord, the outdated ATA1 spec specifies a 20msec
timeout for setting DRQ but lots of common devices overshoot this.

Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
(cherry picked from Linux kernel commit 602da297e293eb2cbd28dcdbbe247593a46a853a)

* linux/src/drivers/block/ide.h (WAIT_DRQ): Increase to 1 s.
</content>
</entry>
<entry>
<title>IDE disk drives with unusual C/H/S.</title>
<updated>2012-12-21T18:00:14Z</updated>
<author>
<name>Thomas Schwinge</name>
<email>thomas@codesourcery.com</email>
</author>
<published>2012-12-21T18:00:14Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=07a7f30953c6ab3de4362bfd7925cfb2ded23fda'/>
<id>urn:sha1:07a7f30953c6ab3de4362bfd7925cfb2ded23fda</id>
<content type='text'>
* linux/src/drivers/block/ide.c: Partially update to Linux 2.0.40 code.
</content>
</entry>
<entry>
<title>Update DMA auto-enabling, make forcing DMA an option</title>
<updated>2012-09-22T22:43:06Z</updated>
<author>
<name>Sergio Lopez</name>
<email>koro@sinrega.org</email>
</author>
<published>2012-09-22T22:40:52Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=0ec3a87748d9e90d21116038e386cace5ea4a460'/>
<id>urn:sha1:0ec3a87748d9e90d21116038e386cace5ea4a460</id>
<content type='text'>
* linux/configfrag.ac (--enable-ide-forcedma): Add option.
* linux/src/drivers/block/ide.c (ide_probe_promise_20246): Do not call
ide_init_promise.
(probe_for_hwifs): Add SI, VIA, AL PCI probing.
* linux/src/drivers/block/ide.h (hwif_chipset_t): Add hpt343, udma and
ultra66 chipsets.
* linux/src/drivers/block/triton.c: Update to upstream 1.14 version.
* linux/src/include/linux/hdreg.h (HDIO_GET_IDENTITY): Rename to ...
(HDIO_OBSOLETE_IDENTITY): ... new macro.
(HDIO_GET_IDENTITY): New macro.
(hd_driveid): Add fields for extended identification.
</content>
</entry>
<entry>
<title>Fix declarations</title>
<updated>2011-08-30T22:29:01Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2011-08-30T22:18:07Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=2b4bff9914d57bff600ac70194b8b1aab3485bee'/>
<id>urn:sha1:2b4bff9914d57bff600ac70194b8b1aab3485bee</id>
<content type='text'>
* device/ds_routines.h (io_done_list): Add variable declaration.
(device_io_map): Keep variable declaration and move definition to...
* device/ds_routines.c: ... here.
* i386/i386/fpu.c: Include &lt;i386/pic.h&gt;
(curr_ipl): Remove declaration.
(fpintr): Add int unit parameter.
* linux/dev/glue/glue.h: New header.
* i386/i386/fpu.h (fpintr): Add function prototype.
* i386/i386/hardclock.c (clock_interrupt, linux_timer_intr): Remove prototypes.
[LINUX_DEV]: Include &lt;linux/dev/glue/glue.h&gt;
* i386/i386/ipl.h (curr_ipl): Add declaration.
* i386/i386/pic.h (curr_pic_mask, pic_mask, prtnull, intnull): Add
declarations.
* i386/i386at/kd.h (kdintr): Add declaration.
* i386/i386at/pic_isa.c: Include &lt;i386/fpu.h&gt; and &lt;i386at/kd.h&gt;
(intnull, fpintr, hardclock, kdintr, prtnull): Remove prototypes.
* i386/xen/xen.c: Include &lt;kern/mach_clock.h&gt;
(clock_interrupt): Remove prototype.
* linux/dev/arch/i386/kernel/irq.c: Include &lt;linux/dev/glue/glue.h&gt; and
&lt;machine/machspl.h&gt;
(linux_timer_intr, splhigh, spl0, curr_ipl, curr_pic_mask, pic_mask,
get_options): Remove declarations.
* linux/dev/drivers/block/floppy.c: Include &lt;linux/dev/glue/glue.h&gt;
(issig, get_options): Remove declarations.
* linux/dev/drivers/block/genhd.c: Include &lt;linux/dev/glue/glue.h&gt;
(linux_intr_pri): Remove declaration.
* linux/dev/glue/block.c: Include &lt;devices/ds_routines.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(device_io_map, blksize_size): Remove declarations.
* linux/dev/glue/kmem.c: Include &lt;kern/printf.h&gt; and &lt;linux/dev/glue/glue.h&gt;
(alloc_contig_mem, printf): Remove declarations.
* linux/dev/glue/misc.c: Include &lt;printf.h&gt; and &lt;linux/dev/glue/glue.h&gt;
(vm_map_lookup_entry, printf): Remove prototypes.
* linux/dev/glue/net.c: Include &lt;kern/printf.h&gt;, &lt;device/ds_routines.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(linux_intr_pri, io_done_list): Remove declarations.
* linux/dev/init/main.c: Include &lt;machine/model_dep.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(phys_last_addr, alloc_contig_mem, free_contig_mem, init_IRQ,
restore_IRQ, startrtclock, linux_version_init, linux_kmem_init, pci_init,
linux_net_emulation_init, device_setup, linux_printk, linux_timer_intr, spl0,
splhigh, form_pic_mask, linux_bad_intr, prtnull, intnull, linux_sched_init,
pcmcia_init): Remove declarations.
* linux/dev/kernel/sched.c: Include &lt;kern/printf.h&gt;, &lt;machine/machspl.h&gt; and
&lt;linux/dev/glue/glue.h&gt;.
(alloc_contig_mem, free_contig_mem, splhigh, splx, linux_soft_intr, issig,
printf, linux_auto_config): Remove prototypes.
* linux/dev/kernel/softirq.c: Include &lt;linux/dev/glue/glue.h&gt;.
* linux/src/drivers/block/floppy.c: Include &lt;linux/dev/glue/glue.h&gt;.
(get_options): Remove prototype.
* linux/src/init/main.c: Include &lt;linux/dev/glue/glue.h&gt;
(init_IRQ): Remove prototype.
</content>
</entry>
</feed>
