Re: dev/psm0 not found



В Mon, 20 Dec 2010 17:26:15 -0500
John Baldwin <jhb@xxxxxxxxxxx> пишет:

On Monday, December 20, 2010 4:38:57 pm Ivan Klymenko wrote:
В Mon, 20 Dec 2010 16:02:46 -0500
John Baldwin <jhb@xxxxxxxxxxx> пишет:

Not working :(

This was debugging, not a fix. Try this possible fix:

Index: atkbdc_isa.c
===================================================================
--- atkbdc_isa.c (revision 216591)
+++ atkbdc_isa.c (working copy)
@@ -272,14 +272,16 @@
* list entry so we can use a standard bus_get_resource()
* method.
*/
- if (sc->irq == NULL) {
- if (resource_int_value(name, unit, "irq", &t) != 0)
- t = -1;
- } else
- t = rman_get_start(sc->irq);
- if (t > 0)
- resource_list_add(&ivar->resources, SYS_RES_IRQ,
ivar->rid,
- t, t, 1);
+ if (order == KBDC_RID_KBD) {
+ if (sc->irq == NULL) {
+ if (resource_int_value(name, unit, "irq",
&t) != 0)
+ t = -1;
+ } else
+ t = rman_get_start(sc->irq);
+ if (t > 0)
+ resource_list_add(&ivar->resources,
SYS_RES_IRQ,
+ ivar->rid, t, t, 1);
+ }

if (resource_disabled(name, unit))
device_disable(child);


It works!
Thanks!
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: dev/psm0 not found
    ... On Monday, December 20, 2010 4:38:57 pm Ivan Klymenko wrote: ... This was debugging, not a fix. ... list entry so we can use a standard bus_get_resource ...
    (freebsd-current)
  • Re: dev/psm0 not found
    ... This was debugging, not a fix. ... list entry so we can use a standard bus_get_resource ...
    (freebsd-current)
  • Re: dev/psm0 not found
    ... This was debugging, not a fix. ... list entry so we can use a standard bus_get_resource ...
    (freebsd-current)
  • Re: Function Points
    ... apparent and so no problem at all to notice and fix. ... As I remember, it wasn't so immediately apparent what the problem was, ... Of course fancy debugging tools would have made it ... single line to check for problems the type checker would have caught ...
    (comp.lang.forth)
  • Re: Case sensitivity
    ... Does your system of choice run IMAP server? ... I also think it would be trivial to fix, ... they want standard words written in lower case to be ... Does it have IP stack? ...
    (comp.lang.forth)