Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-09-24 | Add missing Manuel Bouyer copyright. | Alexander Yurchenko | |
2004-09-24 | Multiple inclusion protection. | Alexander Yurchenko | |
2004-07-06 | Replace magic number with a more descriptive #define. This magic number was | Aaron Campbell | |
particularly vile because it looks like a typo (i.e., looks like one "f" is missing), but it's really not. I happened to notice this myself, but the fix is inspired by NetBSD in the interest of keeping the code similar. deraadt@ ok | |||
2004-06-02 | Add quirks field to the wdc softc and implement the first one: | Alexander Yurchenko | |
WDC_QUIRK_NOSHORTDMA which disables DMA for the one-sector transfers. Use this quirk for the Geode SC1100 IDE to fix hanging during fdisk reported in PR 3729. Thanks to Alexandre Belloni <abelloni@nerim.net> for testing. ok costa@ | |||
2004-03-03 | remove bufq support until i figure out just what's going wrong. ok deraadt@ | Ted Unangst | |
2004-02-15 | new arg to disk_unbusy, to record separate read/write statistics. | Ted Unangst | |
looked at by various, testing henning@ mcbride@ dan weeks mostly from netbsd via Pedro Martelletto <pbastos@rdc.puc-rio.br> | |||
2004-02-02 | as grange pointed out, BUFQ_ALLOC might fail | Ted Unangst | |
2004-01-23 | Use %b to display status register, this will make bug reports more | Alexander Yurchenko | |
informative. Also convert WDCS_BITS string to caps. | |||
2004-01-21 | dynamic bufq support. basically a nullop. ok grange@ | Ted Unangst | |
2004-01-16 | Do not print CHS info for LBA drives, it's useless for drives with | Alexander Yurchenko | |
capacity > 8GB. Total number of cylinders is enough. ok deraadt@ | |||
2004-01-15 | ansi and some spaces; no f/c | Alexander Yurchenko | |
2003-11-17 | Various cleanups, knf, better debug messages. | Alexander Yurchenko | |
2003-11-17 | Don't wait for DRQ after issuing IDENTIFY command; instead check for DRQ | Alexander Yurchenko | |
asserted after BSY is cleared in data read codepath. Solves delays in probe. The first version of this diff was done by costa@ a long time ago but had some issues. This one is a partial sync with NetBSD. ok costa@ | |||
2003-10-21 | typos from Tom Cosgrove; | Jason McIntyre | |
2003-10-17 | Merge an old fix from NetBSD: | Alexander Yurchenko | |
- do not stop/unload current DMA operation if an IRQ was not detected by DMA engine unless the force flag was given, fixes DMA problems in shared IRQ setups; - ack interrupt before entering DMA codepath Tested by many. Work by niklas@ but he doesn't want to commit it for some reason. | |||
2003-10-16 | New flag to mark SATA drives | Alexander Yurchenko | |
2003-10-16 | spaces/tabs cleanup | Alexander Yurchenko | |
2003-10-16 | Cleanup a bit, more pretty debug messages. | Alexander Yurchenko | |
2003-10-16 | Allow setting of wdcdebug*_mask variables via preprocessor defines. | Alexander Yurchenko | |
This makes creating debug kernels be much more easy. | |||
2003-10-16 | Define some SATA fields in the IDENTIFY structure. | Alexander Yurchenko | |
Names match NetBSD. | |||
2003-09-28 | kill trailing spaces, no functional changes | Alexander Yurchenko | |
2003-07-23 | Old Promise ATA controllers need some additional operations | Alexander Yurchenko | |
during DMA transfers to work correctly with LBA48 drives. Based on diff from Takeshi Nakayama <tn@catvmics.ne.jp> for NetBSD with some corrections from FreeBSD ATA driver. | |||
2003-07-20 | Use LBA48 only when accessing blocks after 137Gb limit or using sectors | Alexander Yurchenko | |
count more than 255 to reduce registers writting overhead. Gives me about 5% perfomance increase in a dumb synthetic test. Some input and ok from costa@ a long time ago. | |||
2003-06-25 | implement new means of manipulating buf queues, bufq. | Ted Unangst | |
accessed with BUFQ macros, bufq structs support extensible, potentially changable algorithms and queue formats. the current default scheme should support nice priority based queuing, but is missing some vfs_bio.c support. only on wd.c for now, other drivers are easy converts. as a side bonus, this makes the driver code look cleaner. idea for the name comes from netbsd, but this scheme is incompatible. thanks to various people for testing. ok grange@ | |||
2003-05-20 | change spaces to tabs so i can mail grange diffs :) | Ted Unangst | |
ok grange@ | |||
2003-04-14 | revert last change since it causes problems on some devices | Alexander Yurchenko | |
2003-04-12 | Don't wait for DRQ after issuing IDENTIFY command. Fix long detecting | Alexander Yurchenko | |
of atapi devices. Problem reported by Nicolas Baldi <nib1@cs.pitt.edu>, diff from costa@. | |||
2003-04-09 | sprintf->snprintf. miod@, grange@ ok. | Hakan Olsson | |
2003-04-06 | Some easy strcpy elimination. | Kenneth R Westerback | |
a) strcpy -> strncpy for copies into disklabel fields d_packname and d_typename. b) '16' -> 'sizeof d_packname' or 'sizeof d_typename' in existing strncpy's. ok millert@ | |||
2003-02-28 | Increase IDENTIFY command timeout to 3 sec, as required by some | Alexander Yurchenko | |
drives; from NetBSD | |||
2003-02-25 | Correct the size of __reserved9 field in struct ataparams; | Alexander Yurchenko | |
from Yichen Xie's bounds checker via tedu@ ok costa@ | |||
2003-02-21 | Fix Manuel Bouyer's copyright, from NetBSD | Alexander Yurchenko | |
ok deraadt@ | |||
2003-02-13 | Don't force all ATAPI devices to PIO mode 3, there are | Alexander Yurchenko | |
devices which only support PIO mode 2 or less. Use atap_oldpiotiming to obtain supported mode for such devices. Also use SET FEATURES only for PIO mode > 2. Work by Alec Skelly <alec@dtkco.com> with my little help. ok costa@ | |||
2003-01-10 | splio->splbio in comment | Alexander Yurchenko | |
2002-12-23 | dev/ata/ata.c should depends on wdc_base since it uses some calls | Alexander Yurchenko | |
from dev/ic/wdc.c; from NetBSD. ok miod@ deraadt@ | |||
2002-12-19 | Protect WDCDEBUG_PRINT macro with do {} while (0) | Alexander Yurchenko | |
ok costa@ | |||
2002-10-12 | Remove more '\n's from panic() statements. Both trailing and leading. | Kenneth R Westerback | |
Diff generated by Chris Kuethe. | |||
2002-06-14 | spelling; from Brian Poole <raj@cerias.purdue.edu> | Todd T. Fries | |
2002-05-24 | protect biodone with splbio. | Artur Grabowski | |
2002-05-03 | LBA48 support. | Grigoriy Orlov | |
Adopted from NetBSD by Alexander Yurchenko <grange@openbsd.ru>. costa@ ok. | |||
2002-03-27 | Calculate the maximum queue depth correctly. | Grigoriy Orlov | |
PR2490 from Alexander Yurchenko <grange@rt.mipt.ru> | |||
2002-03-16 | Use wdc_setdrive | Constantine Sapuntzakis | |
2002-03-14 | Final __P removal plus some cosmetic fixups | Todd C. Miller | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-01-07 | pass the proc* down the ioctl chain to controller; mjacob@ csapuntz@ ok | Michael Shalayeff | |
2001-11-28 | Add tag line. Thanks to David Krause | Constantine Sapuntzakis | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-09-21 | Correct some pryntf() usage: get the correct number of arguments in the | Miod Vallat | |
correct order. | |||
2001-09-20 | occured->occurred | Mike Pechkin | |
idea from deraadt@ via NetBSD millert@ ok | |||
2001-08-06 | Remove legacy __BDEVSW_DUMP_OLD_TYPE code. | Miod Vallat | |