Commit Graph

47 Commits

Author SHA1 Message Date
ru
a80e8fe473 Mechanically kill hard sentence breaks. 2004-07-02 21:45:06 +00:00
des
169dc14206 Whitespace cleanup. 2004-05-20 15:01:26 +00:00
sos
03d0a2d088 Add printing of relevant SATA info where approbiate. 2004-03-15 13:21:41 +00:00
sos
ee796cf90b Cosmetics 2004-01-21 21:31:19 +00:00
johan
e084e7d153 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
b910c7374c 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
sos
e82fbc2bec Adjust to the new sys/ata.h layout 2003-08-24 09:23:54 +00:00
sos
9f473e058c DOnt allow getting caps from other than master and slave device :) 2003-05-05 10:28:37 +00:00
sos
a0a19b0141 Added more descriptive error outputs.
PR:	46096
2003-05-04 09:51:06 +00:00
sos
a8b8128c57 On getting status print the stripesize on RAID0's. 2003-05-04 09:28:43 +00:00
sos
03240be587 Add "addspare" functionality. 2003-05-02 12:42:31 +00:00
johan
c1f2f558bf 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
mux
5376911c7a - 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
ru
8dc7d59515 mdoc(7) police: markup nits. 2002-12-23 15:30:40 +00:00
trhodes
78a6feff06 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
745c2f213a Don't depend on <sys/types.h> pollution in <fcntl.h>. Sort includes. 2002-09-16 08:34:08 +00:00
sos
12f033e373 Use the proper fields for security.
PR: 41870
2002-09-12 14:08:28 +00:00
ru
6b03628b50 mdoc(7) police: kill hard sentence break. 2002-08-13 11:29:42 +00:00
sos
f5cacf15a2 Also print the serial # on atacontrol cap .... 2002-07-31 18:30:38 +00:00
charnier
548d38d27c The .Nm utility 2002-07-06 19:34:18 +00:00
trhodes
f4bedba7ab Minor spelling and grammar fixes in the atacontrol(8) manual page.
PR:	39393
2002-07-02 18:00:20 +00:00
ru
595ef43e99 mdoc(7) police: tidy up the markup. 2002-05-29 16:14:00 +00:00
sos
63f1efa72e Sync with the new endianness in ata.h 2002-04-05 21:51:03 +00:00
sos
e85e09023e Be able to print ATA133 mode. 2002-04-05 11:49:24 +00:00
sos
5420062ba4 Add get-status to the ATA RAID subsystem. 2002-04-02 13:48:17 +00:00
sos
3e552821b9 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
sos
e3a1d7136b Add support for creating/deleting ATA RAID's
Sponsored by: Advanis
2002-03-27 10:59:53 +00:00
ru
33d5c07ba6 mdoc(7) police: tiny fixes. 2002-03-15 14:28:05 +00:00
sos
833a5b1fee Check the <channel> arg a bit more.
Submitted by: David Malone <dwmalone@maths.tcd.ie>
2002-03-10 13:59:00 +00:00
sos
e90754fa87 Update headers 2002-03-04 21:11:30 +00:00
sos
5a553b2a13 Add the RAID rebuild command. 2002-03-03 15:41:57 +00:00
sos
a4ed6bd851 Match the requirements of the new kernel structures. 2002-02-04 19:24:43 +00:00
obrien
a537f22ad4 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
sos
f172809abd Update to reflect the change in ata.h
Forgotten by: sos
2001-10-07 07:48:12 +00:00
ru
cb3283b5da mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
sos
b296b24e1d Fix bogon introduce by last commit. 2001-05-18 11:38:58 +00:00
ru
aa95743709 mdoc(7) police: update document date. 2001-05-17 11:09:15 +00:00
sos
c8816cc275 Update to use the new ioctl interface.
Add the list command.
2001-05-17 10:30:07 +00:00
ru
1db489053b mdoc(7) police: normalize .Nd. 2001-04-18 15:54:10 +00:00
ru
e7c03cd6b0 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
e2a472a47a Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
ru
36c1816bbe Fix minor mdoc(7) and spelling nits. 2001-03-19 08:20:34 +00:00
sos
5cac3f8960 Some minor cleanups to the code, no new functionality. 2001-03-19 07:58:47 +00:00
sos
3172c70ce7 Incorporate most of Ruslans changes plus minor addtion by me 2001-03-19 07:57:25 +00:00
imp
390a025c46 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
ru
e5c65e44a0 Make this compile with ${BDECFLAGS}, apply style(9), cleanup manpage. 2001-03-15 19:28:58 +00:00
sos
30841f3c3b 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