agp_sis.c (134043) | agp_sis.c (139431) |
---|---|
1/*- 2 * Copyright (c) 2000 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2000 Doug Rabson 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 11 unchanged lines hidden (view full) --- 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 */ 26 27#include <sys/cdefs.h> |
28__FBSDID("$FreeBSD: head/sys/dev/agp/agp_sis.c 134043 2004-08-19 20:58:24Z obrien $"); | 28__FBSDID("$FreeBSD: head/sys/dev/agp/agp_sis.c 139431 2004-12-30 07:18:58Z anholt $"); |
29 30#include "opt_bus.h" 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/malloc.h> 35#include <sys/kernel.h> 36#include <sys/module.h> --- 67 unchanged lines hidden (view full) --- 104 case 0x07461039: 105 return ("SiS 746 host to AGP bridge"); 106 case 0x07601039: 107 return ("SiS 760 host to AGP bridge"); 108 case 0x10221039: /* AMD64 */ 109 return NULL; 110 }; 111 | 29 30#include "opt_bus.h" 31 32#include <sys/param.h> 33#include <sys/systm.h> 34#include <sys/malloc.h> 35#include <sys/kernel.h> 36#include <sys/module.h> --- 67 unchanged lines hidden (view full) --- 104 case 0x07461039: 105 return ("SiS 746 host to AGP bridge"); 106 case 0x07601039: 107 return ("SiS 760 host to AGP bridge"); 108 case 0x10221039: /* AMD64 */ 109 return NULL; 110 }; 111 |
112 if (pci_get_vendor(dev) == 0x1039) 113 return ("SIS Generic host to PCI bridge"); 114 | |
115 return NULL; 116} 117 118static int 119agp_sis_probe(device_t dev) 120{ 121 const char *desc; 122 --- 181 unchanged lines hidden --- | 112 return NULL; 113} 114 115static int 116agp_sis_probe(device_t dev) 117{ 118 const char *desc; 119 --- 181 unchanged lines hidden --- |