stand.h (bd001d86d679e10d179ef00b9866f0e65b6fa7fd) | stand.h (4932a6e41d1fc3fe474358501d5933e783066bdc) |
---|---|
1/* 2 * Copyright (c) 1998 Michael Smith. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 125 unchanged lines hidden (view full) --- 134/* where values for lseek(2) */ 135#define SEEK_SET 0 /* set file offset to offset */ 136#define SEEK_CUR 1 /* set file offset to current plus offset */ 137#define SEEK_END 2 /* set file offset to EOF plus offset */ 138 139/* 140 * Device switch 141 */ | 1/* 2 * Copyright (c) 1998 Michael Smith. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 125 unchanged lines hidden (view full) --- 134/* where values for lseek(2) */ 135#define SEEK_SET 0 /* set file offset to offset */ 136#define SEEK_CUR 1 /* set file offset to current plus offset */ 137#define SEEK_END 2 /* set file offset to EOF plus offset */ 138 139/* 140 * Device switch 141 */ |
142#define DEV_NAMLEN 8 /* Length of name of device class */ |
|
142struct devsw { | 143struct devsw { |
143 const char dv_name[8]; | 144 const char dv_name[DEV_NAMLEN]; |
144 int dv_type; /* opaque type constant, arch-dependant */ 145#define DEVT_NONE 0 146#define DEVT_DISK 1 147#define DEVT_NET 2 148#define DEVT_CD 3 149#define DEVT_ZFS 4 150#define DEVT_FD 5 151 int (*dv_init)(void); /* early probe call */ --- 345 unchanged lines hidden --- | 145 int dv_type; /* opaque type constant, arch-dependant */ 146#define DEVT_NONE 0 147#define DEVT_DISK 1 148#define DEVT_NET 2 149#define DEVT_CD 3 150#define DEVT_ZFS 4 151#define DEVT_FD 5 152 int (*dv_init)(void); /* early probe call */ --- 345 unchanged lines hidden --- |