summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_skreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-07-22 04:04:12 +0000
committerwpaul <wpaul@FreeBSD.org>1999-07-22 04:04:12 +0000
commit2dcca2910746f8a511776c6670b3a753abe74dad (patch)
tree76a6d6ea7e56bbfb06819524d42a249201d4d26a /sys/pci/if_skreg.h
parent4e77d278204094cfe64cfc8748a47ebea9d9d7ba (diff)
downloadFreeBSD-src-2dcca2910746f8a511776c6670b3a753abe74dad.zip
FreeBSD-src-2dcca2910746f8a511776c6670b3a753abe74dad.tar.gz
Convert the SysKonnect gigabit ethernet driver to newbus.
Diffstat (limited to 'sys/pci/if_skreg.h')
-rw-r--r--sys/pci/if_skreg.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/pci/if_skreg.h b/sys/pci/if_skreg.h
index 8520abf..eebffcd 100644
--- a/sys/pci/if_skreg.h
+++ b/sys/pci/if_skreg.h
@@ -29,7 +29,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_skreg.h,v 1.2 1999/07/09 17:36:23 wpaul Exp $
+ * $Id: if_skreg.h,v 1.33 1999/07/14 21:48:19 wpaul Exp $
*/
/*
@@ -1127,6 +1127,9 @@ struct sk_if_softc;
struct sk_softc {
bus_space_handle_t sk_bhandle; /* bus space handle */
bus_space_tag_t sk_btag; /* bus space tag */
+ void *sk_intrhand; /* irq handler handle */
+ struct resource *sk_irq; /* IRQ resource handle */
+ struct resource *sk_res; /* I/O or shared mem handle */
u_int8_t sk_unit; /* controller number */
u_int8_t sk_type;
char *sk_vpd_prodname;
@@ -1164,5 +1167,6 @@ struct sk_if_softc {
#ifdef __alpha__
#undef vtophys
-#define vtophys(va) alpha_XXX_dmamap((vm_offset_t)va)
+#define vtophys(va) (pmap_kextract(((vm_offset_t) (va))) \
+ + 1*1024*1024*1024)
#endif
OpenPOWER on IntegriCloud