Revision f66a99d7 ioport.c

b/ioport.c
149 149
    for(i = start; i < start + length; i += size) {
150 150
        ioport_read_table[bsize][i] = func;
151 151
        if (ioport_opaque[i] != NULL && ioport_opaque[i] != opaque)
152
            hw_error("register_ioport_read: invalid opaque");
152
            hw_error("register_ioport_read: invalid opaque for address 0x%x",
153
                     i);
153 154
        ioport_opaque[i] = opaque;
154 155
    }
155 156
    return 0;
......
168 169
    for(i = start; i < start + length; i += size) {
169 170
        ioport_write_table[bsize][i] = func;
170 171
        if (ioport_opaque[i] != NULL && ioport_opaque[i] != opaque)
171
            hw_error("register_ioport_write: invalid opaque");
172
            hw_error("register_ioport_write: invalid opaque for address 0x%x",
173
                     i);
172 174
        ioport_opaque[i] = opaque;
173 175
    }
174 176
    return 0;

Also available in: Unified diff