summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_sisreg.h
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-09-26 18:42:27 +0000
committerjhb <jhb@FreeBSD.org>2005-09-26 18:42:27 +0000
commit4eeb530ac72e50536d9d5f48d9cba224a2f48e77 (patch)
treec1096d19035fc10521d0b1c34d3b9ed532b0e33c /sys/pci/if_sisreg.h
parentbe5947abab98a811d48dfeb5dc91cf2153b7facb (diff)
downloadFreeBSD-src-4eeb530ac72e50536d9d5f48d9cba224a2f48e77.zip
FreeBSD-src-4eeb530ac72e50536d9d5f48d9cba224a2f48e77.tar.gz
Small fixes to sis(4):
- Remove sis_unit and use device_printf() and if_printf() instead. - Use callout_init_mtx() for the callout. - Remove spls. - Fix locking for ifmedia to happen in the ifmedia handlers rather than in sis_ioctl(). - Log an error message if we fail to allocate any resources. Perform cleanup if we fail to allocate any resources so that we don't leave a mutex hanging around. Tested by: Jason Tsai jason dot tsai at newcyberian dot com (1-4) MFC after: 3 days
Diffstat (limited to 'sys/pci/if_sisreg.h')
-rw-r--r--sys/pci/if_sisreg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/pci/if_sisreg.h b/sys/pci/if_sisreg.h
index d67678f..4c0a2c0 100644
--- a/sys/pci/if_sisreg.h
+++ b/sys/pci/if_sisreg.h
@@ -435,7 +435,6 @@ struct sis_softc {
void *sis_intrhand;
device_t sis_self;
device_t sis_miibus;
- u_int8_t sis_unit;
u_int8_t sis_type;
u_int8_t sis_rev;
u_int8_t sis_link;
OpenPOWER on IntegriCloud