#
cbf684e5 |
| 26-Nov-2017 |
zrj <rimvydas.jasinskas@gmail.com> |
kernel/nata: Extract ad_get_geometry().
While there, extract ata_unit2str() too.
|
#
bb15467a |
| 25-Nov-2017 |
zrj <rimvydas.jasinskas@gmail.com> |
kernel/nata: Misc cleanup in non chipset codes.
* Move some stuff around. * Add local implementations of biofinish() and g_io_deliver(). * Add prints for READ_NATIVE_MAX_ADDRESS. * Use >= in
kernel/nata: Misc cleanup in non chipset codes.
* Move some stuff around. * Add local implementations of biofinish() and g_io_deliver(). * Add prints for READ_NATIVE_MAX_ADDRESS. * Use >= in comparisons for devclass_get_maxunit()
No functional change.
show more ...
|
#
9243051b |
| 24-Nov-2017 |
zrj <rimvydas.jasinskas@gmail.com> |
kernel/nata: Return more data for natacontrol(8).
* include info about backing subdisks * use last 16 bytes of serial number in meta (as MatrixRAID does) * add optional automatc spindown/spinup s
kernel/nata: Return more data for natacontrol(8).
* include info about backing subdisks * use last 16 bytes of serial number in meta (as MatrixRAID does) * add optional automatc spindown/spinup support (dmesg noisy) * various cleanups * natacontrol(8) additions + cleanup
Taken-from: FreeBSD
show more ...
|
#
8406cf70 |
| 15-Jun-2017 |
Sascha Wildner <saw@online.de> |
kernel: Add 'static' to some function definitions.
The declarations already have it, so no functional difference.
|
#
f6e8a0a1 |
| 07-Jun-2014 |
Imre Vadasz <imre@vdsz.com> |
Convert files to UTF-8
Taken-from: FreeBSD
|
#
d3c9c58e |
| 20-Feb-2013 |
Sascha Wildner <saw@online.de> |
kernel: Use DEVMETHOD_END in the drivers.
|
#
d83666e0 |
| 22-Mar-2012 |
François Tigeot <ftigeot@wolfpond.org> |
Kernel - Completely remove DFLTPHYS
* There is no need to have two different macros define the maximum allowed IO size for low-level operations; replace DFLTPHYS by MAXPHYS in the entire kernel.
Kernel - Completely remove DFLTPHYS
* There is no need to have two different macros define the maximum allowed IO size for low-level operations; replace DFLTPHYS by MAXPHYS in the entire kernel.
* Old drivers typically used DFLTPHYS without a second thought, assuming it would always be the same value; they may have hard limitations and break if bigger I/O sizes are suddenly used. Be sure to explicitely limit their maximum allowed I/O size to 64KB and keep them working.
show more ...
|
#
47f4bca5 |
| 20-Jan-2012 |
Sascha Wildner <saw@online.de> |
kernel: Remove some old major numbers.
|
#
7648d8d6 |
| 21-Nov-2011 |
Venkatesh Srinivas <me@endeavour.zapto.org> |
kernel -- nata: Raise ATA timeout for FLUSHCACHE requests.
(S)ATA devices may take longer than the default ata timeout to respond to FLUSHCACHE requests, particularly when they are spinning-up. Seen
kernel -- nata: Raise ATA timeout for FLUSHCACHE requests.
(S)ATA devices may take longer than the default ata timeout to respond to FLUSHCACHE requests, particularly when they are spinning-up. Seen with Western Digital Caviar Green SATA disks.
From: FreeBSD PR 136182 (http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/136182)
show more ...
|
#
ef352403 |
| 13-Apr-2010 |
Alex Hornung <ahornung@gmail.com> |
nata - Drop pending requests on dump
* Drop all pending requests in the ata queue when we are about to dump.
* This should solve issues that have been appearing lately causing a TAILQ_NEXT panic
nata - Drop pending requests on dump
* Drop all pending requests in the ata queue when we are about to dump.
* This should solve issues that have been appearing lately causing a TAILQ_NEXT panic on dumps with nata under heavy I/O.
Reported-by: Jan Lentfer (lentferj@), Antonio Huete (tuxillo@) Obtained-from: FreeBSD
show more ...
|
#
79db9382 |
| 09-Feb-2010 |
Matthew Dillon <dillon@apollo.backplane.com> |
kernel - nata - Fix bug in SET_MULTI command
* The command was not properly masking atadev->param.sectors_intr, resulting in the setting of a value which some hard drives (OCZ SSD) would reject.
kernel - nata - Fix bug in SET_MULTI command
* The command was not properly masking atadev->param.sectors_intr, resulting in the setting of a value which some hard drives (OCZ SSD) would reject.
This mainly just gets rid of an error message on the console. SET_MULTI is typically a NOP on most SATA drives.
Obtained-from: FreeBSD
show more ...
|
#
b24cd69c |
| 06-Dec-2009 |
Alex Hornung <ahornung@gmail.com> |
dump - Make use of the new dumping
* Adapt our dumping infrastructure to the new dump type.
* Update all disk/raid dump methods (except aac) to work with the new dumps. These now don't take matte
dump - Make use of the new dumping
* Adapt our dumping infrastructure to the new dump type.
* Update all disk/raid dump methods (except aac) to work with the new dumps. These now don't take matters into their own hands and just write what they are told to.
show more ...
|
#
55230951 |
| 05-Aug-2009 |
Matthew Dillon <dillon@apollo.backplane.com> |
DEVFS - Add serial number links for all CAM and NATA attachments.
All CAM-probed drives and NATA probed drives which have a serial number will now show up in DEVFS under /dev/serno, in addition to s
DEVFS - Add serial number links for all CAM and NATA attachments.
All CAM-probed drives and NATA probed drives which have a serial number will now show up in DEVFS under /dev/serno, in addition to showing up as da/cd/ad*. This will ultimately tie into /etc/devtab.
show more ...
|
#
a9bf1b8c |
| 29-Aug-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Add BUF_CMD_FLUSH support - issue flush command to mass storage device.
|
#
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
|
#
3ec9ecbc |
| 24-Mar-2008 |
Matthew Dillon <dillon@dragonflybsd.org> |
Synchronize various changes from FreeBSD. This is not exhaustive but gets the most important patches.
* Better AHCI detection and reporting. * More robust AHCI chipinit. * Fixes for additional chip
Synchronize various changes from FreeBSD. This is not exhaustive but gets the most important patches.
* Better AHCI detection and reporting. * More robust AHCI chipinit. * Fixes for additional chipsets which do not support 64K DMA transfers * VIA8237S support * Hitachi detection logic. * Vendor identification for otherwise unidentified chipsets. * keep ivars intact on atapi-cd reinit.
show more ...
|
#
02d7aa4a |
| 05-Jun-2007 |
Sascha Wildner <swildner@dragonflybsd.org> |
Update FreeBSD ID tags.
|
#
a01741bb |
| 03-Jun-2007 |
Matthew Dillon <dillon@dragonflybsd.org> |
M_NOWAIT can only be used in a driver where a failed memory allocation is recoverable, such as in a network driver. FreeBSD seems to have a looser definition but in DragonFly M_NOWAIT really means M
M_NOWAIT can only be used in a driver where a failed memory allocation is recoverable, such as in a network driver. FreeBSD seems to have a looser definition but in DragonFly M_NOWAIT really means M_NOWAIT ... any blocking at all, including waiting on the BGL or getting the kernel_map lock, will result in a failure NULL.
Change all M_NOWAIT's to either M_WAITOK or M_INTWAIT.
show more ...
|
#
87870bc8 |
| 01-Jun-2007 |
Matthew Dillon <dillon@dragonflybsd.org> |
Merge all the FreeBSD work done since our initial import of NATA, except for the disk flushing code. The disk flushing code still needs to be done. The work includes a ton of SATA chipset work, bug
Merge all the FreeBSD work done since our initial import of NATA, except for the disk flushing code. The disk flushing code still needs to be done. The work includes a ton of SATA chipset work, bug fixes, cleanups, and new chip support.
Obtained-from: FreeBSD / =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos@deepcore.dk>
show more ...
|
#
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 ...
|
#
5c16e43e |
| 05-Feb-2007 |
Thomas E. Spanjaard <tgen@dragonflybsd.org> |
Make natadisk's ad_dump() actually work. Ditch the fake bio/buf scheme to pass information to ad_strategy() in favour of calling ata_queue_request() directly. This way, we avoid hairy bio stuff and r
Make natadisk's ad_dump() actually work. Ditch the fake bio/buf scheme to pass information to ad_strategy() in favour of calling ata_queue_request() directly. This way, we avoid hairy bio stuff and request callbacks.
show more ...
|
#
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 ...
|