amdtemp.c (241885) | amdtemp.c (246128) |
---|---|
1/*- 2 * Copyright (c) 2008, 2009 Rui Paulo <rpaulo@FreeBSD.org> 3 * Copyright (c) 2009 Norikatsu Shigemura <nork@FreeBSD.org> 4 * Copyright (c) 2009-2012 Jung-uk Kim <jkim@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 */ 28 29/* 30 * Driver for the AMD CPU on-die thermal sensors. 31 * Initially based on the k8temp Linux driver. 32 */ 33 34#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 2008, 2009 Rui Paulo <rpaulo@FreeBSD.org> 3 * Copyright (c) 2009 Norikatsu Shigemura <nork@FreeBSD.org> 4 * Copyright (c) 2009-2012 Jung-uk Kim <jkim@FreeBSD.org> 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 */ 28 29/* 30 * Driver for the AMD CPU on-die thermal sensors. 31 * Initially based on the k8temp Linux driver. 32 */ 33 34#include <sys/cdefs.h> |
35__FBSDID("$FreeBSD: head/sys/dev/amdtemp/amdtemp.c 241885 2012-10-22 13:06:09Z eadler $"); | 35__FBSDID("$FreeBSD: head/sys/dev/amdtemp/amdtemp.c 246128 2013-01-30 18:01:20Z sbz $"); |
36 37#include <sys/param.h> 38#include <sys/bus.h> 39#include <sys/conf.h> 40#include <sys/kernel.h> 41#include <sys/module.h> 42#include <sys/sysctl.h> 43#include <sys/systm.h> --- 85 unchanged lines hidden (view full) --- 129 130static device_method_t amdtemp_methods[] = { 131 /* Device interface */ 132 DEVMETHOD(device_identify, amdtemp_identify), 133 DEVMETHOD(device_probe, amdtemp_probe), 134 DEVMETHOD(device_attach, amdtemp_attach), 135 DEVMETHOD(device_detach, amdtemp_detach), 136 | 36 37#include <sys/param.h> 38#include <sys/bus.h> 39#include <sys/conf.h> 40#include <sys/kernel.h> 41#include <sys/module.h> 42#include <sys/sysctl.h> 43#include <sys/systm.h> --- 85 unchanged lines hidden (view full) --- 129 130static device_method_t amdtemp_methods[] = { 131 /* Device interface */ 132 DEVMETHOD(device_identify, amdtemp_identify), 133 DEVMETHOD(device_probe, amdtemp_probe), 134 DEVMETHOD(device_attach, amdtemp_attach), 135 DEVMETHOD(device_detach, amdtemp_detach), 136 |
137 {0, 0} | 137 DEVMETHOD_END |
138}; 139 140static driver_t amdtemp_driver = { 141 "amdtemp", 142 amdtemp_methods, 143 sizeof(struct amdtemp_softc), 144}; 145 --- 404 unchanged lines hidden --- | 138}; 139 140static driver_t amdtemp_driver = { 141 "amdtemp", 142 amdtemp_methods, 143 sizeof(struct amdtemp_softc), 144}; 145 --- 404 unchanged lines hidden --- |