Changeset View
Changeset View
Standalone View
Standalone View
head/sys/compat/linsysfs/linsysfs.c
Show First 20 Lines • Show All 267 Lines • ▼ Show 20 Lines | linsysfs_fill_vgapci(PFS_FILL_ARGS) | ||||
char *path; | char *path; | ||||
path = get_full_pfs_path((struct pfs_node*)pn->pn_data); | path = get_full_pfs_path((struct pfs_node*)pn->pn_data); | ||||
sbuf_printf(sb, "../../../%s", path); | sbuf_printf(sb, "../../../%s", path); | ||||
free(path, M_TEMP); | free(path, M_TEMP); | ||||
return (0); | return (0); | ||||
} | } | ||||
#undef PCI_DEV | |||||
#define PCI_DEV "pci" | #define PCI_DEV "pci" | ||||
#define DRMN_DEV "drmn" | #define DRMN_DEV "drmn" | ||||
static int | static int | ||||
linsysfs_run_bus(device_t dev, struct pfs_node *dir, struct pfs_node *scsi, | linsysfs_run_bus(device_t dev, struct pfs_node *dir, struct pfs_node *scsi, | ||||
struct pfs_node *chardev, struct pfs_node *drm, char *path, char *prefix) | struct pfs_node *chardev, struct pfs_node *drm, char *path, char *prefix) | ||||
{ | { | ||||
struct scsi_host_queue *scsi_host; | struct scsi_host_queue *scsi_host; | ||||
struct pfs_node *sub_dir, *cur_file; | struct pfs_node *sub_dir, *cur_file; | ||||
▲ Show 20 Lines • Show All 281 Lines • Show Last 20 Lines |