pciconf.c (541c4ca06d39b766d7eb1e5f84dedaec82a2b0df) | pciconf.c (64ae346b521983a6fc2f72b795b5c8ae101ddac1) |
---|---|
1/* 2 * Copyright 1996 Massachusetts Institute of Technology 3 * 4 * Permission to use, copy, modify, and distribute this software and 5 * its documentation for any purpose and without fee is hereby 6 * granted, provided that both the above copyright notice and this 7 * permission notice appear in all copies, that both the above 8 * copyright notice and this permission notice appear in all --- 26 unchanged lines hidden (view full) --- 35#include <sys/types.h> 36#include <sys/fcntl.h> 37 38#include <err.h> 39#include <stdlib.h> 40#include <stdio.h> 41#include <string.h> 42#include <unistd.h> | 1/* 2 * Copyright 1996 Massachusetts Institute of Technology 3 * 4 * Permission to use, copy, modify, and distribute this software and 5 * its documentation for any purpose and without fee is hereby 6 * granted, provided that both the above copyright notice and this 7 * permission notice appear in all copies, that both the above 8 * copyright notice and this permission notice appear in all --- 26 unchanged lines hidden (view full) --- 35#include <sys/types.h> 36#include <sys/fcntl.h> 37 38#include <err.h> 39#include <stdlib.h> 40#include <stdio.h> 41#include <string.h> 42#include <unistd.h> |
43#include <sys/pciio.h> |
|
43 | 44 |
44#include <pci/pcivar.h> 45#include <pci/pci_ioctl.h> 46 | |
47#include "pathnames.h" 48 49static void list_devs(void); 50static void readit(const char *, const char *, int); 51static void writeit(const char *, const char *, const char *, int); 52static void chkattached(const char *, int); 53 54static int exitstatus = 0; --- 221 unchanged lines hidden --- | 45#include "pathnames.h" 46 47static void list_devs(void); 48static void readit(const char *, const char *, int); 49static void writeit(const char *, const char *, const char *, int); 50static void chkattached(const char *, int); 51 52static int exitstatus = 0; --- 221 unchanged lines hidden --- |