annotate vidix/pci_names.h @ 31366:0bf908d29807

SIGPIPE is not really a crash, try to exit cleanly in case we receive one. Particularly in the network code it would be better to ignore it, but some window managers use it to indicate a close request.
author reimar
date Wed, 16 Jun 2010 17:33:17 +0000
parents 844755b5d7b6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30046
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
1 /*
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
2 * VIDIX - VIDeo Interface for *niX.
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
3 *
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
4 * This file is part of MPlayer.
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
5 *
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
6 * MPlayer is free software; you can redistribute it and/or modify
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
7 * it under the terms of the GNU General Public License as published by
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
8 * the Free Software Foundation; either version 2 of the License, or
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
9 * (at your option) any later version.
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
10 *
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
11 * MPlayer is distributed in the hope that it will be useful,
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
14 * GNU General Public License for more details.
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
15 *
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License along
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
17 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
19 */
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
20
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
21 #ifndef MPLAYER_PCI_NAMES_H
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
22 #define MPLAYER_PCI_NAMES_H
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
23
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
24 struct device_id_s {
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
25 unsigned short id;
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
26 const char *name;
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
27 };
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
28
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
29 struct vendor_id_s {
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
30 unsigned short id;
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
31 const char *name;
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
32 const struct device_id_s *dev_list;
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
33 };
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
34 const char *pci_vendor_name(unsigned short id);
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
35 const char *pci_device_name(unsigned short vendor_id,
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
36 unsigned short device_id);
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
37
844755b5d7b6 Do not autogenerate vidix/pci_names.h.
diego
parents:
diff changeset
38 #endif /* MPLAYER_PCI_NAMES_H */