1 #ifndef __NOUVEAU_SUBDEV_DEVICE_H__
2 #define __NOUVEAU_SUBDEV_DEVICE_H__
4 #include <core/device.h>
6 #define nouveau_device_create(p,n,s,c,d,u) \
7 nouveau_device_create_((p), (n), (s), (c), (d), sizeof(**u), (void **)u)
9 int nouveau_device_create_(struct pci_dev *, u64 name, const char *sname,
10 const char *cfg, const char *dbg, int, void **);
12 int nv04_identify(struct nouveau_device *);
13 int nv10_identify(struct nouveau_device *);
14 int nv20_identify(struct nouveau_device *);
15 int nv30_identify(struct nouveau_device *);
16 int nv40_identify(struct nouveau_device *);
17 int nv50_identify(struct nouveau_device *);
18 int nvc0_identify(struct nouveau_device *);
19 int nve0_identify(struct nouveau_device *);
21 extern struct nouveau_oclass nouveau_device_sclass[];
22 struct nouveau_device *nouveau_device_find(u64 name);