if_my.c (ef544f631226436ef590825881e7a28369df82f6) if_my.c (cc249a3fce557c21e9e7f80bf04f8814045a39d9)
1/*-
2 * Written by: yen_cw@myson.com.tw
3 * Copyright (c) 2002 Myson Technology Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

59#include <machine/bus.h>
60#include <machine/resource.h>
61#include <sys/bus.h>
62#include <sys/rman.h>
63
64#include <dev/pci/pcireg.h>
65#include <dev/pci/pcivar.h>
66
1/*-
2 * Written by: yen_cw@myson.com.tw
3 * Copyright (c) 2002 Myson Technology Inc.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

59#include <machine/bus.h>
60#include <machine/resource.h>
61#include <sys/bus.h>
62#include <sys/rman.h>
63
64#include <dev/pci/pcireg.h>
65#include <dev/pci/pcivar.h>
66
67#include <dev/mii/mii.h>
68#include <dev/mii/miivar.h>
69
70#include "miibus_if.h"
71
72/*
73 * #define MY_USEIOSPACE
74 */
75
76static int MY_USEIOSPACE = 1;
77
78#ifdef MY_USEIOSPACE
79#define MY_RES SYS_RES_IOPORT

--- 1692 unchanged lines hidden ---
67/*
68 * #define MY_USEIOSPACE
69 */
70
71static int MY_USEIOSPACE = 1;
72
73#ifdef MY_USEIOSPACE
74#define MY_RES SYS_RES_IOPORT

--- 1692 unchanged lines hidden ---