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



The following reply was made to PR kern/38112; it has been noted by GNATS.

From: Matthias Drochner <M.Drochner%fz-juelich.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        netbsd-bugs%NetBSD.org@localhost
Subject: Re: kern/38112: questionable code in sys/dev/usb/usb_port.h 
Date: Wed, 27 Feb 2008 21:39:25 +0100

 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