Commit Graph

25 Commits

Author SHA1 Message Date
Søren Schmidt
e5f8aed520 DOnt allow getting caps from other than master and slave device :) 2003-05-05 10:28:37 +00:00
Søren Schmidt
0a2b02fe0a Added more descriptive error outputs.
PR:	46096
2003-05-04 09:51:06 +00:00
Søren Schmidt
7ed6898c2f On getting status print the stripesize on RAID0's. 2003-05-04 09:28:43 +00:00
Søren Schmidt
0a124c3704 Add "addspare" functionality. 2003-05-02 12:42:31 +00:00
Johan Karlsson
c0bb08c5ed Make this WARNS=2 clean by using %j and (uintmax_t).
Reviewed by:	tjr@ on audit@
Approved by:	silence from sos@
2003-04-22 19:57:46 +00:00
Maxime Henrion
0a50de79cb - Add a new ioctl to get the maximum number of ATA channels.
- Use it in atacontrol(8) when listing ATA devices instead of
  stopping at the first ENXIO received.

This makes atacontrol list work on my sparc64 where the two ATA
channels I have are numbered 2 and 3.

Reviewed by:	sos
2003-03-22 12:18:20 +00:00
Mike Barcroft
2c16ed2973 Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 08:34:08 +00:00
Søren Schmidt
ed8a242cef Use the proper fields for security.
PR: 41870
2002-09-12 14:08:28 +00:00
Søren Schmidt
cc6666dc21 Also print the serial # on atacontrol cap .... 2002-07-31 18:30:38 +00:00
Søren Schmidt
2f1eaa933e Sync with the new endianness in ata.h 2002-04-05 21:51:03 +00:00
Søren Schmidt
99bb242b53 Be able to print ATA133 mode. 2002-04-05 11:49:24 +00:00
Søren Schmidt
3348c0092c Add get-status to the ATA RAID subsystem. 2002-04-02 13:48:17 +00:00
Søren Schmidt
4486f609fc Add support for getting status (fan, temp, 5V and 12V levels) from
Promise Superswap enclosures.

Sponsored by: Advanis
2002-03-30 16:36:41 +00:00
Søren Schmidt
f642c834f4 Add support for creating/deleting ATA RAID's
Sponsored by: Advanis
2002-03-27 10:59:53 +00:00
Søren Schmidt
c75ece6633 Check the <channel> arg a bit more.
Submitted by: David Malone <dwmalone@maths.tcd.ie>
2002-03-10 13:59:00 +00:00
Søren Schmidt
de7997511b Update headers 2002-03-04 21:11:30 +00:00
Søren Schmidt
0df4b5542c Add the RAID rebuild command. 2002-03-03 15:41:57 +00:00
Søren Schmidt
f5ec450932 Match the requirements of the new kernel structures. 2002-02-04 19:24:43 +00:00
Søren Schmidt
b508ad43c6 Update to reflect the change in ata.h
Forgotten by: sos
2001-10-07 07:48:12 +00:00
Søren Schmidt
6555ad204e Fix bogon introduce by last commit. 2001-05-18 11:38:58 +00:00
Søren Schmidt
d1eb1df37a Update to use the new ioctl interface.
Add the list command.
2001-05-17 10:30:07 +00:00
Søren Schmidt
69658f3595 Some minor cleanups to the code, no new functionality. 2001-03-19 07:58:47 +00:00
Warner Losh
ab820341c1 Back out ru's changes. Soren has requested this and I see no reason
to not just do it.  It is his new code that is being actively
developed so he has say over it.  ru's direct changes were premature
as they occurred less than 4 hours after it was committed to the tree.
2001-03-16 08:07:00 +00:00
Ruslan Ermilov
905a2385bf Make this compile with ${BDECFLAGS}, apply style(9), cleanup manpage. 2001-03-15 19:28:58 +00:00
Søren Schmidt
6ad7a0b6f2 Add atacontrol, a util to control variuos aspects of the ATA.4 driver,
please consult atacontrol.8 for usage..
2001-03-15 15:40:53 +00:00