Standardised debug messages to make it easy to get a bus scan printout

(just build debugging versions of the relevant bus objects).
This commit is contained in:
Michael Brown
2005-04-14 23:32:36 +00:00
parent c7694a5322
commit ed92171527
4 changed files with 8 additions and 3 deletions

View File

@@ -129,6 +129,7 @@ static inline int fill_t509_device ( struct t509_device *t509 ) {
DBG ( "No ID port available for contention select\n" );
return 0;
}
DBG ( "T509 scan using ID port at %hx\n", t509->id_port );
}
/*
@@ -166,6 +167,9 @@ static inline int fill_t509_device ( struct t509_device *t509 ) {
outb ( ++t509->current_tag, t509->id_port ); /* tag */
outb ( ( 0xe0 | iobase ), t509->id_port ); /* activate */
DBG ( "T509 found at %hx (tagged as %hhx)\n", t509->ioaddr,
t509->current_tag );
return 1;
}