fixed a few typos

This commit is contained in:
Markus Fröschle
2014-09-02 19:58:19 +00:00
parent 6124f82d82
commit 70cb003abb
3 changed files with 1949 additions and 1949 deletions

View File

@@ -19,7 +19,7 @@ static inline uint32_t set_ipl(uint32_t ipl)
" lsr.l #8,%[ret]\r\n" /* shift them to position */
: [ret] "=&d" (ret) /* output */
: [ipl] "d" (ipl) /* input */
: "cc", d0" /* clobber */
: "cc", "d0" /* clobber */
);
return ret;

View File

@@ -382,7 +382,7 @@ void arp_handler(NIF *nif, NBUF *pNbuf)
(rx_arpframe->ar_tpa[2] == addr[2]) &&
(rx_arpframe->ar_tpa[3] == addr[3]) )
{
dbg("received ARP packet is a permanent one, store it\r\n")
dbg("received ARP packet is a permanent one, store it\r\n");
longevity = ARP_ENTRY_PERM;
}
else

View File

@@ -43,9 +43,6 @@
*/
#include "usb.h"
#include "ohci.h"
#include "util.h" /* for endian conversions */
#include "wait.h" /* for wait routines */
#include "bas_printf.h"
#include "bas_string.h" /* for memset() */
@@ -56,7 +53,6 @@
#undef OHCI_USE_NPS /* force NoPowerSwitching mode */
#undef OHCI_VERBOSE_DEBUG /* not always helpful */
#undef DEBUG_OHCI
#undef SHOW_INFO
#undef OHCI_FILL_TRACE
@@ -67,6 +63,10 @@
#define dbg(format, arg...) do { ; } while (0)
#endif /* DEBUG_OHCI */
#include "usb.h"
#include "ohci.h"
#include "util.h" /* for endian conversions */
/* For initializing controller (mask in an HCFS mode too) */
#define OHCI_CONTROL_INIT (OHCI_CTRL_CBSR & 0x3) | OHCI_CTRL_IE | OHCI_CTRL_PLE
@@ -1042,7 +1042,7 @@ static void check_status(ohci_t *ohci, td_t *td_list)
if (cc)
{
err("OHCI usb-%s-%c error: %s (%x)\r\n", ohci->slot_name, (char)ohci->controller + '0', cc_to_string[cc], cc);
err("OHCI usb-%s-%c error: %s (%x)\r\n", ohci->slot_name, (char) ohci->controller + '0', cc_to_string[cc], cc);
if (*phwHeadP & swpl(0x1))
{
if (lurb_priv && ((td_list->index + 1) < urb_len))