diff options
| author | Michael Brown | 2005-04-15 01:32:36 +0200 |
|---|---|---|
| committer | Michael Brown | 2005-04-15 01:32:36 +0200 |
| commit | ed9217152781fccbb936d187ea57406d4cff13de (patch) | |
| tree | 53e3e6bb90922c6fac258c11c803aa48064eb588 /src/drivers/net | |
| parent | Cleaner separation of find_t509_device/fill_t509_device. (diff) | |
| download | ipxe-ed9217152781fccbb936d187ea57406d4cff13de.tar.gz ipxe-ed9217152781fccbb936d187ea57406d4cff13de.tar.xz ipxe-ed9217152781fccbb936d187ea57406d4cff13de.zip | |
Standardised debug messages to make it easy to get a bus scan printout
(just build debugging versions of the relevant bus objects).
Diffstat (limited to 'src/drivers/net')
| -rw-r--r-- | src/drivers/net/3c509.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/net/3c509.c b/src/drivers/net/3c509.c index e73bf84b2..2790a534c 100644 --- a/src/drivers/net/3c509.c +++ b/src/drivers/net/3c509.c @@ -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; } |
