Commit Graph

46 Commits

Author SHA1 Message Date
Dag-Erling Smørgrav
5a0581860f Whitespace cleanup. 2004-05-20 15:01:26 +00:00
Søren Schmidt
d7659cb1ac Add printing of relevant SATA info where approbiate. 2004-03-15 13:21:41 +00:00
Søren Schmidt
ad836d50cb Cosmetics 2004-01-21 21:31:19 +00:00
Johan Karlsson
8fbf7d0847 Make sure argv[x] exists before using it.
PR:		56696
Reported by:	Igor Truszkowski <igort@intergate.pl>
Submitted by:	maxim@
Approved by:	sos@
MFC after:	2 weeks
2003-11-05 21:56:21 +00:00
Johan Karlsson
8fb7e78565 Make this WARNS=6 clean by:
- declaring 'mode2str' as returning a 'const char *'
 - prototyping all function
 - rename the argument 'version' to 'ver', not to shadow
        the now prototyped function 'version'.

Also mark it as WARNS?= 6 clean to try to keep it clean.

Tested by:	make universe (including amd64)
2003-11-05 19:20:41 +00:00
Søren Schmidt
e0b4a710b6 Adjust to the new sys/ata.h layout 2003-08-24 09:23:54 +00:00
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
Ruslan Ermilov
31eb65150e mdoc(7) police: markup nits. 2002-12-23 15:30:40 +00:00
Tom Rhodes
b74163dfc5 Add a list of currently supported modes && an EXAMPLES section.
PR:		40465
Submitted by:	Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-12-14 18:38:34 +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
Ruslan Ermilov
1eee97b7bd mdoc(7) police: kill hard sentence break. 2002-08-13 11:29:42 +00:00
Søren Schmidt
cc6666dc21 Also print the serial # on atacontrol cap .... 2002-07-31 18:30:38 +00:00
Philippe Charnier
e1205e80e5 The .Nm utility 2002-07-06 19:34:18 +00:00
Tom Rhodes
ee662b5963 Minor spelling and grammar fixes in the atacontrol(8) manual page.
PR:	39393
2002-07-02 18:00:20 +00:00
Ruslan Ermilov
165aadc593 mdoc(7) police: tidy up the markup. 2002-05-29 16:14:00 +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
Ruslan Ermilov
e3390c2a99 mdoc(7) police: tiny fixes. 2002-03-15 14:28:05 +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
David E. O'Brien
2d68bf45bf Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +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
Ruslan Ermilov
9fe48c6e8d mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
Søren Schmidt
6555ad204e Fix bogon introduce by last commit. 2001-05-18 11:38:58 +00:00
Ruslan Ermilov
64ecd81a7f mdoc(7) police: update document date. 2001-05-17 11:09:15 +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
Ruslan Ermilov
eb0838029f mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
Ruslan Ermilov
0a5779d45b - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
Ruslan Ermilov
fe655281c5 Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
Ruslan Ermilov
fe997d964c Fix minor mdoc(7) and spelling nits. 2001-03-19 08:20:34 +00:00
Søren Schmidt
69658f3595 Some minor cleanups to the code, no new functionality. 2001-03-19 07:58:47 +00:00
Søren Schmidt
3ec5a2774f Incorporate most of Ruslans changes plus minor addtion by me 2001-03-19 07:57:25 +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