- Fix build on alpha.
- Add a missing newline in printf.
This commit is contained in:
parent
a01bf47081
commit
878db8920f
@ -1020,10 +1020,9 @@ void fw_sidrcv(struct firewire_comm* fc, caddr_t buf, u_int len, u_int off)
|
||||
}else{
|
||||
printf(", cable IRM = %d", fc->irm);
|
||||
if (fc->irm == fc->nodeid)
|
||||
printf(" (me)\n");
|
||||
else
|
||||
printf("\n");
|
||||
printf(" (me)");
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
if (try_bmr && (fc->irm != -1) && (CSRARC(fc, BUS_MGR_ID) == 0x3f)) {
|
||||
if (fc->irm == ((CSRARC(fc, NODE_IDS) >> 16 ) & 0x3f)) {
|
||||
|
@ -662,7 +662,7 @@ fwohci_init(struct fwohci_softc *sc, device_t dev)
|
||||
device_printf(dev, "sid_buf alloc failed.\n");
|
||||
return ENOMEM;
|
||||
}
|
||||
if (((u_int32_t) sc->fc.sid_buf & (OHCI_SIDSIZE - 1)) != 0) {
|
||||
if (((vm_offset_t) sc->fc.sid_buf & (OHCI_SIDSIZE - 1)) != 0) {
|
||||
device_printf(dev, "sid_buf(%p) not aligned.\n",
|
||||
sc->fc.sid_buf);
|
||||
return ENOMEM;
|
||||
|
Loading…
x
Reference in New Issue
Block a user