History log of /dflybsd-src/sys/dev/disk/nata/ata-raid.c (Results 26 – 37 of 37)
Revision Date Author Comments
# 60233e58 05-Apr-2009 Sascha Wildner <saw@online.de>

Generally use NULL instead of explicitly casting 0 to some pointer type.


# b106cb48 30-Aug-2008 Matthew Dillon <dillon@dragonflybsd.org>

Flesh out BUF_CMD_FLUSH support.

Obtained-from: Ported from FreeBSD.


# 3c0963e0 27-Jun-2008 Matthew Dillon <dillon@dragonflybsd.org>

Increase the default request timeout from 5 seconds to 10 seconds.

Using advise from Volker Theile of the FreeNAS project via:
http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting


# 6b7bbefa 27-Jun-2008 Matthew Dillon <dillon@dragonflybsd.org>

Apply patch supplied in FreeBSD-PR to ata-raid code:

"A drive that was once part of an ataraid device, when added back to the
machine that it was on, shows up as a new ataraid device. This new atara

Apply patch supplied in FreeBSD-PR to ata-raid code:

"A drive that was once part of an ataraid device, when added back to the
machine that it was on, shows up as a new ataraid device. This new ataraid
device tries to use all the drives that were originally in the RAID.
Results can range from a confusion to a real mess."

Obtained-from: http://www.freebsd.org/cgi/query-pr.cgi?pr=121899&cat=kern
Author: Stef Walter <stef@memberwebs.com>

show more ...


# 978400d3 06-Jan-2008 Sascha Wildner <swildner@dragonflybsd.org>

Remove bogus checks after kmalloc(M_WAITOK) which never returns NULL.

Reviewed-by: hasso


# 1a215404 17-Jun-2007 YONETANI Tomokazu <y0netan1@dragonflybsd.org>

we do not want to shift by the block size, which is much larger than
the number of bits held in bio_offset.


# a688b15c 15-May-2007 Matthew Dillon <dillon@dragonflybsd.org>

Continue untangling the disklabel. Have most disk device drivers fill out
and install a generic disk_info structure instead of filling out random
fields in the disklabel.

The generic disk_info stru

Continue untangling the disklabel. Have most disk device drivers fill out
and install a generic disk_info structure instead of filling out random
fields in the disklabel.

The generic disk_info structure uses a 64 bit integer to represent
the media size in bytes or total sector count.

show more ...


# d438c7c2 08-Feb-2007 Thomas E. Spanjaard <tgen@dragonflybsd.org>

Misc cleanups to NATA ata-raid.c to make it compile. Fix malloc/free ->
kmalloc/kfree, M_NOWAIT -> M_WAITOK, and various bugfixes and warnings
fixes. Note, that this hasn't been tested in actual oper

Misc cleanups to NATA ata-raid.c to make it compile. Fix malloc/free ->
kmalloc/kfree, M_NOWAIT -> M_WAITOK, and various bugfixes and warnings
fixes. Note, that this hasn't been tested in actual operation, that's
something for next week when I have the time + hardware.

show more ...


# 5e8604ce 06-Feb-2007 Thomas E. Spanjaard <tgen@dragonflybsd.org>

Misc cleanups for NATA ataraid, and write ata_raid_dump() to look like
something that will actually work. I did not take the same approach as with
ad_dump() here, because that takes just too much cod

Misc cleanups for NATA ataraid, and write ata_raid_dump() to look like
something that will actually work. I did not take the same approach as with
ad_dump() here, because that takes just too much code duplication between
ata_raid_strategy() and ata_raid_dump().

show more ...


# e3869ec7 22-Dec-2006 Sascha Wildner <swildner@dragonflybsd.org>

Rename printf -> kprintf in sys/ and add some defines where necessary
(files which are used in userland, too).


# f8c7a42d 20-Dec-2006 Matthew Dillon <dillon@dragonflybsd.org>

Rename sprintf -> ksprintf
Rename snprintf -> knsprintf

Make allowances for source files that are compiled for both userland and
the kernel.


# c1b3d7c5 04-Dec-2006 Thomas E. Spanjaard <tgen@dragonflybsd.org>

Initial import of the port of the new(er) FreeBSD ATA code.

Note this code has not yet been hooked into the build as such, unless you (unwisely) specify the devices in your kernel config according t

Initial import of the port of the new(er) FreeBSD ATA code.

Note this code has not yet been hooked into the build as such, unless you (unwisely) specify the devices in your kernel config according to sys/conf/files. The modules are also excluded from the module build due to not having a SUBDIR entry in sys/dev/disk/Makefile. The PCI code isn't yet operation pending a patch for sys/bus/pci/pci.c I will send to kernel@ shortly. It short-circuits lazy resource allocation for PCI ATA controllers in legacy mode (i.e. on legacy ISA ATA addresses, which are not configured in the PCI BARs).

The userland utility used to control nata ('natacontrol') and documentation will follow later. Also, be aware only nata, natapci, natadisk and natapicd have seen testing on real hardware so far. nataraid, natausb and natacam are probably not compilable yet, I need to clean those up.

show more ...


12