mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 09:32:33 +03:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user