#ifdef out DES ioctls which don't exist in FreeBSD. These originated

with the SunRPC code to allow the use of hardware DES on certain Sun
hardware that supported it (if you installed the appropriate kit). We
don't have them and they apparently break the ioctl table
generation for kdump.

Pointed out by: bde
This commit is contained in:
Bill Paul 1998-09-26 01:29:51 +00:00
parent e12d0ec43a
commit 6ed6e30166

View File

@ -56,6 +56,14 @@ struct desparams {
# define des_buf UDES.UDES_buf /* otherwise, pointer to data */
};
#ifdef notdef
/*
* These ioctls are only implemented in SunOS. Maybe someday
* if somebody writes a driver for DES hardware that works
* with FreeBSD, we can being that back.
*/
/*
* Encrypt an arbitrary sized buffer
*/
@ -66,6 +74,8 @@ struct desparams {
*/
#define DESIOCQUICK _IOWR(d, 7, struct desparams)
#endif
/*
* Software DES.
*/