lptcontrol.c (97d92980a96a50750844f420cc225ddf918f0699) | lptcontrol.c (f8373524de154820902a4113c3d296c188facdbf) |
---|---|
1/* 2 * Copyright (c) 1994 Geoffrey M. Rehmet 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 --- 28 unchanged lines hidden (view full) --- 37#include <err.h> 38#include <limits.h> 39#include <paths.h> 40#include <stdio.h> 41#include <stdlib.h> 42#include <string.h> 43#include <unistd.h> 44 | 1/* 2 * Copyright (c) 1994 Geoffrey M. Rehmet 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 --- 28 unchanged lines hidden (view full) --- 37#include <err.h> 38#include <limits.h> 39#include <paths.h> 40#include <stdio.h> 41#include <stdlib.h> 42#include <string.h> 43#include <unistd.h> 44 |
45#include <machine/lpt.h> | 45#include <dev/ppbus/lptio.h> |
46#include <sys/file.h> 47#include <sys/ioctl.h> 48#include <sys/types.h> 49 50 51#define PATH_LPCTL _PATH_DEV "lpctl" 52#define DEFAULT_DEVICE "/dev/lpt0" 53#define IRQ_INVALID -1 --- 44 unchanged lines hidden --- | 46#include <sys/file.h> 47#include <sys/ioctl.h> 48#include <sys/types.h> 49 50 51#define PATH_LPCTL _PATH_DEV "lpctl" 52#define DEFAULT_DEVICE "/dev/lpt0" 53#define IRQ_INVALID -1 --- 44 unchanged lines hidden --- |