KSE changes for olpt driver
Reviewed by: julian, bde, jhb
This commit is contained in:
parent
58be6f3ff5
commit
da4e3cd357
@ -473,7 +473,7 @@ lpt_attach(device_t dev)
|
||||
*/
|
||||
|
||||
static int
|
||||
lptopen (dev_t dev, int flags, int fmt, struct proc *p)
|
||||
lptopen (dev_t dev, int flags, int fmt, struct thread *td)
|
||||
{
|
||||
struct lpt_softc *sc;
|
||||
int s;
|
||||
@ -612,7 +612,7 @@ lptout (void *arg)
|
||||
*/
|
||||
|
||||
static int
|
||||
lptclose(dev_t dev, int flags, int fmt, struct proc *p)
|
||||
lptclose(dev_t dev, int flags, int fmt, struct thread *td)
|
||||
{
|
||||
struct lpt_softc *sc;
|
||||
#ifndef PC98
|
||||
@ -783,7 +783,7 @@ lpt_intr(void *arg)
|
||||
}
|
||||
|
||||
static int
|
||||
lptioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
|
||||
lptioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct thread *td)
|
||||
{
|
||||
int error = 0;
|
||||
struct lpt_softc *sc;
|
||||
|
@ -473,7 +473,7 @@ lpt_attach(device_t dev)
|
||||
*/
|
||||
|
||||
static int
|
||||
lptopen (dev_t dev, int flags, int fmt, struct proc *p)
|
||||
lptopen (dev_t dev, int flags, int fmt, struct thread *td)
|
||||
{
|
||||
struct lpt_softc *sc;
|
||||
int s;
|
||||
@ -612,7 +612,7 @@ lptout (void *arg)
|
||||
*/
|
||||
|
||||
static int
|
||||
lptclose(dev_t dev, int flags, int fmt, struct proc *p)
|
||||
lptclose(dev_t dev, int flags, int fmt, struct thread *td)
|
||||
{
|
||||
struct lpt_softc *sc;
|
||||
#ifndef PC98
|
||||
@ -783,7 +783,7 @@ lpt_intr(void *arg)
|
||||
}
|
||||
|
||||
static int
|
||||
lptioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
|
||||
lptioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct thread *td)
|
||||
{
|
||||
int error = 0;
|
||||
struct lpt_softc *sc;
|
||||
|
Loading…
Reference in New Issue
Block a user