NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/38112: questionable code in sys/dev/usb/usb_port.h
fukumoto%imasy.or.jp@localhost said:
> I noticed a
> questionable code in sys/dev/usb/usb_port.h.
> #define UCOMBUSCF_PORTNO -1
This definition is within an "#if defined(__OpenBSD__)" block.
In NetBSD, these definitions are generated by config(8):
$ grep UCOMBUSCF_PORTNO locators.h
#define UCOMBUSCF_PORTNO 0
#define UCOMBUSCF_PORTNO_DEFAULT -1
best regards
Matthias
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr. Harald Bolt,
Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index