Deleted Added
full compact
intpm.c (229093) intpm.c (234213)
1/*-
2 * Copyright (c) 1998, 1999 Takanori Watanabe
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) 1998, 1999 Takanori Watanabe
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: stable/9/sys/pci/intpm.c 229093 2011-12-31 14:12:12Z hselasky $");
28__FBSDID("$FreeBSD: stable/9/sys/pci/intpm.c 234213 2012-04-13 08:01:34Z avg $");
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33#include <sys/kernel.h>
34#include <sys/lock.h>
35#include <sys/module.h>
36#include <sys/mutex.h>

--- 57 unchanged lines hidden (view full) ---

94 case 0x719b8086: /* Intel 82443MX */
95#if 0
96 /* Not a good idea yet, this stops isab0 functioning */
97 case 0x02001166: /* ServerWorks OSB4 */
98#endif
99 device_set_desc(dev, "Intel PIIX4 SMBUS Interface");
100 break;
101 case 0x43851002:
29
30#include <sys/param.h>
31#include <sys/systm.h>
32#include <sys/bus.h>
33#include <sys/kernel.h>
34#include <sys/lock.h>
35#include <sys/module.h>
36#include <sys/mutex.h>

--- 57 unchanged lines hidden (view full) ---

94 case 0x719b8086: /* Intel 82443MX */
95#if 0
96 /* Not a good idea yet, this stops isab0 functioning */
97 case 0x02001166: /* ServerWorks OSB4 */
98#endif
99 device_set_desc(dev, "Intel PIIX4 SMBUS Interface");
100 break;
101 case 0x43851002:
102 /* SB800 and newer can not be configured in a compatible way. */
103 if (pci_get_revid(dev) >= 0x40)
104 return (ENXIO);
102 device_set_desc(dev, "AMD SB600/700/710/750 SMBus Controller");
103 /* XXX Maybe force polling right here? */
104 break;
105 default:
106 return (ENXIO);
107 }
108
109 return (BUS_PROBE_DEFAULT);

--- 704 unchanged lines hidden ---
105 device_set_desc(dev, "AMD SB600/700/710/750 SMBus Controller");
106 /* XXX Maybe force polling right here? */
107 break;
108 default:
109 return (ENXIO);
110 }
111
112 return (BUS_PROBE_DEFAULT);

--- 704 unchanged lines hidden ---