<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/gnumach.git/linux/src/drivers, 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>2015-07-18T16:57:23Z</updated>
<entry>
<title>linux/net: fix build with -O0</title>
<updated>2015-07-18T16:57:23Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2015-07-18T16:52:22Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=92e98a7f4d4fa75b286a067e1d1caef514fccb0d'/>
<id>urn:sha1:92e98a7f4d4fa75b286a067e1d1caef514fccb0d</id>
<content type='text'>
* linux/src/drivers/net/pci-scan.c: Avoid #erroring out.
</content>
</entry>
<entry>
<title>Correct GCC's -Wformat-security issues</title>
<updated>2014-11-21T00:55:16Z</updated>
<author>
<name>David Michael</name>
<email>fedora.dm0@gmail.com</email>
</author>
<published>2014-11-19T01:29:54Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=847f65a8b8ce1fa0d1f51a0e579768ac445cf244'/>
<id>urn:sha1:847f65a8b8ce1fa0d1f51a0e579768ac445cf244</id>
<content type='text'>
* linux/pcmcia-cs/clients/axnet_cs.c (axdev_init): Add a format string
literal where printk only has a single variable argument.
* linux/src/drivers/net/3c507.c (el16_probe1): Likewise.
* linux/src/drivers/net/3c509.c (el3_probe): Likewise.
* linux/src/drivers/net/3c515.c (init_module): Likewise.
(tc515_probe): Likewise.
* linux/src/drivers/net/ac3200.c (ac_probe1): Likewise.
* linux/src/drivers/net/apricot.c (apricot_probe): Likewise.
* linux/src/drivers/net/at1700.c (at1700_probe1): Likewise.
* linux/src/drivers/net/de4x5.c (de4x5_hw_init): Likewise.
* linux/src/drivers/net/de600.c (de600_probe): Likewise.
* linux/src/drivers/net/de620.c (de620_probe): Likewise.
* linux/src/drivers/net/depca.c (depca_hw_init): Likewise.
* linux/src/drivers/net/e2100.c (e21_probe1): Likewise.
* linux/src/drivers/net/eepro.c (eepro_probe1): Likewise.
* linux/src/drivers/net/eepro100.c (speedo_found1): Likewise.
* linux/src/drivers/net/eexpress.c (eexp_hw_probe): Likewise.
* linux/src/drivers/net/ewrk3.c (ewrk3_hw_init): Likewise.
* linux/src/drivers/net/fmv18x.c (fmv18x_probe1): Likewise.
* linux/src/drivers/net/hp-plus.c (hpp_probe1): Likewise.
* linux/src/drivers/net/hp.c (hp_probe1): Likewise.
* linux/src/drivers/net/lance.c (lance_probe1): Likewise.
* linux/src/drivers/net/ne.c (ne_probe1): Likewise.
* linux/src/drivers/net/pcnet32.c (pcnet32_probe1): Likewise.
* linux/src/drivers/net/seeq8005.c (seeq8005_probe1): Likewise.
* linux/src/drivers/net/smc-ultra.c (ultra_probe1): Likewise.
* linux/src/drivers/net/smc-ultra32.c (ultra32_probe1): Likewise.
* linux/src/drivers/net/wd.c (wd_probe1): Likewise.
</content>
</entry>
<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>Fix printf warning</title>
<updated>2014-09-01T21:10:49Z</updated>
<author>
<name>Pietro Braione</name>
<email>schizophonic@tiscali.it</email>
</author>
<published>2014-09-01T21:10:14Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=ce5ce65631b20514189a8abe39fc096db1e8837c'/>
<id>urn:sha1:ce5ce65631b20514189a8abe39fc096db1e8837c</id>
<content type='text'>
linux/src/drivers/net/sundance.c (start_tx): Fix format string according
to parameter.
</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>linux: fix bit tests</title>
<updated>2014-01-05T13:22:15Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-01-05T13:22:15Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=e013a9371d567af6504ed38befb6e866faf7afe7'/>
<id>urn:sha1:e013a9371d567af6504ed38befb6e866faf7afe7</id>
<content type='text'>
The pattern is !x&amp;y. An expression of this form is almost always
meaningless, because it combines a boolean operator with a bit
operator. In particular, if the rightmost bit of y is 0, the result
will always be 0.

Fixed using coccinelle.

// !x&amp;y combines boolean negation with bitwise and
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU.  GPLv2.
// URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html
// Options:

@@ expression E1,E2; @@
(
  !E1 &amp; !E2
|
- !E1 &amp; E2
+ !(E1 &amp; E2)
)

* linux/src/drivers/scsi/FlashPoint.c: Fix bit tests.
</content>
</entry>
<entry>
<title>linux: fix bit tests</title>
<updated>2014-01-05T13:11:29Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-01-05T13:11:29Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=5faed5128d3c07f055f96d910529c95814073a09'/>
<id>urn:sha1:5faed5128d3c07f055f96d910529c95814073a09</id>
<content type='text'>
The pattern is !x&amp;y. An expression of this form is almost always
meaningless, because it combines a boolean operator with a bit
operator. In particular, if the rightmost bit of y is 0, the result
will always be 0.

Fixed using coccinelle.

// !x&amp;y combines boolean negation with bitwise and
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, DIKU.  GPLv2.
// URL: http://www.emn.fr/x-info/coccinelle/rules/notand.html
// Options:

@@ expression E; constant C; @@
(
  !E &amp; !C
|
- !E &amp; C
+ !(E &amp; C)
)

* linux/src/drivers/net/tlan.c: Fix bit tests.
* linux/src/drivers/scsi/AM53C974.c: Likewise.
* linux/src/drivers/scsi/FlashPoint.c: Likewise.
* linux/src/drivers/scsi/NCR5380.c: Likewise.
* linux/src/drivers/scsi/t128.c: Likewise.
</content>
</entry>
</feed>
