Commit Graph

10 Commits

Author SHA1 Message Date
dholland c4044741ea don't use sprintf 2014-03-23 05:07:59 +00:00
jakllsch 8e3694ab9d Don't exit on ioctl failure, instead let the caller handle it.
This is needed so that we can detect failure of the 40LD firmware
interface and fall back to the 8LD interface.
2012-05-18 14:01:34 +00:00
jakllsch 853736acf9 Add $NetBSD$ to header, and add __RCSID. 2012-05-18 13:59:23 +00:00
jakllsch cb015b40f8 Use C99 fixed width integer types. 2012-05-18 13:55:15 +00:00
jakllsch a0e1d2a5df Use err(3) instead of perror(3) + exit(3).
Additionally, use symbolic EXIT_FAILURE.
2012-05-18 13:51:17 +00:00
jakllsch 1304a641ca Use __arraycount instead of identical local macro. 2012-05-18 13:47:33 +00:00
jakllsch c1cc7f8759 constify number to string lookup tables 2012-05-18 13:41:37 +00:00
joerg 0927b2bcb2 staticfy. Use __dead. 2011-08-27 16:05:27 +00:00
lukem 240bf6cd28 fix sign-compare issues 2009-03-16 11:18:10 +00:00
bouyer d252c65e9c Add a /dev/amr* control file for amr(4) devices, which allows sending raw
commands to the controller.
Add a amrctl(8) control tool, which for now only allows to get status
from the adapter (status of adapter, logical volumes and and individual
drives).
From FreeBSD, with some adjustements by Andrew Doran and me.
2006-07-23 12:01:25 +00:00