Use 'struct thread' instead of 'd_thread_t' in example PCI driver.
This commit is contained in:
parent
a753b6609c
commit
e292bc8947
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46198
2 changed files with 4 additions and 4 deletions
|
@ -75,7 +75,7 @@ static struct cdevsw mypci_cdevsw = {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
|
mypci_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
|
||||||
{
|
{
|
||||||
struct mypci_softc *sc;
|
struct mypci_softc *sc;
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
mypci_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)
|
mypci_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
|
||||||
{
|
{
|
||||||
struct mypci_softc *sc;
|
struct mypci_softc *sc;
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ static struct cdevsw mypci_cdevsw = {
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
int
|
||||||
mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
|
mypci_open(struct cdev *dev, int oflags, int devtype, struct thread *td)
|
||||||
{
|
{
|
||||||
struct mypci_softc *sc;
|
struct mypci_softc *sc;
|
||||||
|
|
||||||
|
@ -91,7 +91,7 @@ mypci_open(struct cdev *dev, int oflags, int devtype, d_thread_t *td)
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
mypci_close(struct cdev *dev, int fflag, int devtype, d_thread_t *td)
|
mypci_close(struct cdev *dev, int fflag, int devtype, struct thread *td)
|
||||||
{
|
{
|
||||||
struct mypci_softc *sc;
|
struct mypci_softc *sc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue