machdep.c (12722) | machdep.c (12813) |
---|---|
1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 | 1/*- 2 * Copyright (c) 1992 Terrence R. Lambert. 3 * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. 4 * All rights reserved. 5 * 6 * This code is derived from software contributed to Berkeley by 7 * William Jolitz. 8 * --- 21 unchanged lines hidden (view full) --- 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 31 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 32 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 33 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 34 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 35 * SUCH DAMAGE. 36 * 37 * from: @(#)machdep.c 7.4 (Berkeley) 6/3/91 |
38 * $Id: machdep.c,v 1.156 1995/12/09 20:39:47 phk Exp $ | 38 * $Id: machdep.c,v 1.157 1995/12/10 13:36:26 phk Exp $ |
39 */ 40 41#include "npx.h" 42#include "isa.h" 43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/sysproto.h> --- 921 unchanged lines hidden (view full) --- 968 return; 969 if (dumpdev == NODEV) 970 return; 971 if ((minor(dumpdev)&07) != 1) 972 return; 973 dumpsize = Maxmem; 974 printf("\ndumping to dev %lx, offset %ld\n", dumpdev, dumplo); 975 printf("dump "); | 39 */ 40 41#include "npx.h" 42#include "isa.h" 43 44#include <sys/param.h> 45#include <sys/systm.h> 46#include <sys/sysproto.h> --- 921 unchanged lines hidden (view full) --- 968 return; 969 if (dumpdev == NODEV) 970 return; 971 if ((minor(dumpdev)&07) != 1) 972 return; 973 dumpsize = Maxmem; 974 printf("\ndumping to dev %lx, offset %ld\n", dumpdev, dumplo); 975 printf("dump "); |
976 switch ((*bdevsw[major(dumpdev)].d_dump)(dumpdev)) { | 976 switch ((*bdevsw[major(dumpdev)]->d_dump)(dumpdev)) { |
977 978 case ENXIO: 979 printf("device bad\n"); 980 break; 981 982 case EFAULT: 983 printf("device not ready\n"); 984 break; --- 800 unchanged lines hidden --- | 977 978 case ENXIO: 979 printf("device bad\n"); 980 break; 981 982 case EFAULT: 983 printf("device not ready\n"); 984 break; --- 800 unchanged lines hidden --- |