dcphy.c (19ca58475eb343e20ab107af03654843e3299606) dcphy.c (38d8c9940bac138b83c5aa0066f0e2623d3a3512)
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

61#include "miidevs.h"
62
63#include <machine/bus_pio.h>
64#include <machine/bus_memio.h>
65#include <machine/bus.h>
66#include <machine/resource.h>
67#include <sys/bus.h>
68
1/*
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ee.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

61#include "miidevs.h"
62
63#include <machine/bus_pio.h>
64#include <machine/bus_memio.h>
65#include <machine/bus.h>
66#include <machine/resource.h>
67#include <sys/bus.h>
68
69#include <pci/pcivar.h>
69#include <dev/pci/pcivar.h>
70
71#include <pci/if_dcreg.h>
72
73#include "miibus_if.h"
74
75#define DC_SETBIT(sc, reg, x) \
76 CSR_WRITE_4(sc, reg, \
77 CSR_READ_4(sc, reg) | x)

--- 384 unchanged lines hidden ---
70
71#include <pci/if_dcreg.h>
72
73#include "miibus_if.h"
74
75#define DC_SETBIT(sc, reg, x) \
76 CSR_WRITE_4(sc, reg, \
77 CSR_READ_4(sc, reg) | x)

--- 384 unchanged lines hidden ---