diff options
author | imp <imp@FreeBSD.org> | 2008-06-06 05:25:24 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2008-06-06 05:25:24 +0000 |
commit | 65134490dcc1e3fd448e367e4b961bbe06d063b5 (patch) | |
tree | f1b0213eb74cd220989bbefa87c4269450dfa070 /sys/dev/cs/if_csvar.h | |
parent | dd14f4af05e3464783370bc5d4728e4c0c3fb6dd (diff) | |
download | FreeBSD-src-65134490dcc1e3fd448e367e4b961bbe06d063b5.zip FreeBSD-src-65134490dcc1e3fd448e367e4b961bbe06d063b5.tar.gz |
Minor clean up to shave about 1.5k off the size of the driver:
o remove unused fields from softc and args from cs_alloc_irq
o remove some commented code that will never be implemented.
o Don't try to send a packet and see if it worked. We don't
need this anymore, and it doesn't add any value.
o tweaks for BNC and AUI.
o limit possible time hung in the kernel to 4s rather than 40s.
Diffstat (limited to 'sys/dev/cs/if_csvar.h')
-rw-r--r-- | sys/dev/cs/if_csvar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/cs/if_csvar.h b/sys/dev/cs/if_csvar.h index c4a3eaf..944450e 100644 --- a/sys/dev/cs/if_csvar.h +++ b/sys/dev/cs/if_csvar.h @@ -75,12 +75,10 @@ struct cs_softc { #define CS_ASSERT_LOCKED(sc) mtx_assert(&(sc)->lock, MA_OWNED) int cs_alloc_port(device_t dev, int rid, int size); -int cs_alloc_memory(device_t dev, int rid, int size); -int cs_alloc_irq(device_t dev, int rid, int flags); +int cs_alloc_irq(device_t dev, int rid); int cs_attach(device_t dev); int cs_cs89x0_probe(device_t dev); int cs_detach(device_t dev); void cs_release_resources(device_t dev); -driver_intr_t csintr; #endif /* _IF_CSVAR_H */ |