Reviewed by:
Submitted by: 1) if_ie.c: Changed a printf and put a space in it. Formerly the "<3C507>" confused the syslog. He tried to see that as the priority to log that message. 2) isa_device.h: Changed the iobase variable from short to u_short. EISA Adresses can go up to 0xf000 and the sign extension doesn't look good in the probe output. Example: ep1 at 0xffff8000-0xffff8000f is not good :-), i like more a ep1 at 0x8000-0x8000f. 3) isa.c: Changed a string constant from "probe" to "prob", it gets later already an "ed" tagged on the end.
This commit is contained in:
parent
4c06fcce4e
commit
3d76654d68
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.20 1994/08/13 03:50:07 wollman Exp $
|
||||
* $Id: isa.c,v 1.21 1994/08/18 05:09:30 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -170,7 +170,7 @@ haveseen(dvp, tmpdvp, checkbits)
|
||||
if (tmpdvp->id_alive) {
|
||||
char const *whatnot;
|
||||
|
||||
whatnot = checkbits & CC_ATTACH ? "attach" : "probe";
|
||||
whatnot = checkbits & CC_ATTACH ? "attach" : "prob";
|
||||
/*
|
||||
* Check for I/O address conflict. We can only check the
|
||||
* starting address of the device against the range of the
|
||||
|
@ -43,7 +43,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_ie.c,v 1.10 1994/08/24 22:32:43 ats Exp $
|
||||
* $Id: if_ie.c,v 1.11 1994/08/25 20:16:59 wollman Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -485,7 +485,7 @@ ieattach(dvp)
|
||||
ifp->if_unit = unit;
|
||||
ifp->if_name = iedriver.name;
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
printf("<%s R%d> ethernet address %s\n",
|
||||
printf(" <%s R%d> ethernet address %s\n",
|
||||
ie_hardware_names[ie_softc[unit].hard_type],
|
||||
ie_softc[unit].hard_vers + 1,
|
||||
ether_sprintf(ie->arpcom.ac_enaddr));
|
||||
|
@ -43,7 +43,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: if_ie.c,v 1.10 1994/08/24 22:32:43 ats Exp $
|
||||
* $Id: if_ie.c,v 1.11 1994/08/25 20:16:59 wollman Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -485,7 +485,7 @@ ieattach(dvp)
|
||||
ifp->if_unit = unit;
|
||||
ifp->if_name = iedriver.name;
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
printf("<%s R%d> ethernet address %s\n",
|
||||
printf(" <%s R%d> ethernet address %s\n",
|
||||
ie_hardware_names[ie_softc[unit].hard_type],
|
||||
ie_softc[unit].hard_vers + 1,
|
||||
ether_sprintf(ie->arpcom.ac_enaddr));
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa.c 7.2 (Berkeley) 5/13/91
|
||||
* $Id: isa.c,v 1.20 1994/08/13 03:50:07 wollman Exp $
|
||||
* $Id: isa.c,v 1.21 1994/08/18 05:09:30 davidg Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -170,7 +170,7 @@ haveseen(dvp, tmpdvp, checkbits)
|
||||
if (tmpdvp->id_alive) {
|
||||
char const *whatnot;
|
||||
|
||||
whatnot = checkbits & CC_ATTACH ? "attach" : "probe";
|
||||
whatnot = checkbits & CC_ATTACH ? "attach" : "prob";
|
||||
/*
|
||||
* Check for I/O address conflict. We can only check the
|
||||
* starting address of the device against the range of the
|
||||
|
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)isa_device.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: isa_device.h,v 1.7 1994/08/20 03:48:41 davidg Exp $
|
||||
* $Id: isa_device.h,v 1.8 1994/08/22 15:58:40 bde Exp $
|
||||
*/
|
||||
|
||||
#ifndef _I386_ISA_ISA_DEVICE_H_
|
||||
@ -61,7 +61,7 @@ typedef void inthand2_t __P((int unit));
|
||||
struct isa_device {
|
||||
int id_id; /* device id */
|
||||
struct isa_driver *id_driver;
|
||||
short id_iobase; /* base i/o address */
|
||||
u_short id_iobase; /* base i/o address */
|
||||
u_short id_irq; /* interrupt request */
|
||||
short id_drq; /* DMA request */
|
||||
caddr_t id_maddr; /* physical i/o memory address on bus (if any)*/
|
||||
|
Loading…
Reference in New Issue
Block a user