diff options
author | Johannes Stezenbach <devnull@localhost> | 2005-01-21 16:05:29 +0000 |
---|---|---|
committer | Johannes Stezenbach <devnull@localhost> | 2005-01-21 16:05:29 +0000 |
commit | e9c01b13d8e10720a867d548b01cc061515161dc (patch) | |
tree | 9d9f571296e96fcc7109ca153baf419fff9c420e /linux/drivers/media/dvb/frontends | |
parent | b166ed22268f79cb34ef95ce95631331381717ff (diff) | |
download | mediapointer-dvb-s2-e9c01b13d8e10720a867d548b01cc061515161dc.tar.gz mediapointer-dvb-s2-e9c01b13d8e10720a867d548b01cc061515161dc.tar.bz2 |
- add firmware file name to "upload..." printk
- add printk after successful firmware upload
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/sp8870.c | 3 | ||||
-rw-r--r-- | linux/drivers/media/dvb/frontends/sp887x.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/sp8870.c b/linux/drivers/media/dvb/frontends/sp8870.c index 4a8178d56..72338d461 100644 --- a/linux/drivers/media/dvb/frontends/sp8870.c +++ b/linux/drivers/media/dvb/frontends/sp8870.c @@ -313,7 +313,7 @@ static int sp8870_init (struct dvb_frontend* fe) /* request the firmware, this will block until someone uploads it */ - printk("sp8870: waiting for firmware upload...\n"); + printk("sp8870: waiting for firmware upload (%s)...\n", SP8870_DEFAULT_FIRMWARE); if (state->config->request_firmware(fe, &fw, SP8870_DEFAULT_FIRMWARE)) { printk("sp8870: no firmware upload (timeout or file not found?)\n"); release_firmware(fw); @@ -325,6 +325,7 @@ static int sp8870_init (struct dvb_frontend* fe) release_firmware(fw); return -EIO; } + printk("sp8870: firmware upload complete\n"); /* enable TS output and interface pins */ sp8870_writereg(state, 0xc18, 0x00d); diff --git a/linux/drivers/media/dvb/frontends/sp887x.c b/linux/drivers/media/dvb/frontends/sp887x.c index 33b0b3f66..5f7aee97a 100644 --- a/linux/drivers/media/dvb/frontends/sp887x.c +++ b/linux/drivers/media/dvb/frontends/sp887x.c @@ -518,7 +518,7 @@ static int sp887x_init(struct dvb_frontend* fe) if (!state->initialised) { /* request the firmware, this will block until someone uploads it */ - printk("sp887x: waiting for firmware upload...\n"); + printk("sp887x: waiting for firmware upload (%s)...\n", SP887X_DEFAULT_FIRMWARE); ret = state->config->request_firmware(fe, &fw, SP887X_DEFAULT_FIRMWARE); if (ret) { printk("sp887x: no firmware upload (timeout or file not found?)\n"); @@ -531,6 +531,7 @@ static int sp887x_init(struct dvb_frontend* fe) release_firmware(fw); return ret; } + printk("sp887x: firmware upload complete\n"); state->initialised = 1; } |