Commit Graph

131411 Commits

Author SHA1 Message Date
wiz 624de60311 Bump date for -N; sort options; add N to SYNOPSIS. 2004-11-03 13:58:23 +00:00
jmmv fda2840eea Add missing colon symbol after sentence. 2004-11-03 13:11:41 +00:00
scw 06375beb5f Fix mbr_label_locate() to return '1' on success rather than the '0'
leftover from the call to biowait(9).
2004-11-03 12:21:04 +00:00
erh 7d7fb3bdbc As the comment says, not all files may be present in the tar file,
so don't attempt to extract the (usually) non-existant +PRESERVE file.
2004-11-02 01:03:29 +00:00
yamt e89aeb518a make recording of clct(4) work. namely,
- cs4281_intr: advance a pointer after copying data.
- cs4281_trigger_input: fix an inverted condition about dma mode.
2004-11-02 00:40:08 +00:00
erh 4f022501ab Merge version 20041101 from pkgsrc. 2004-11-02 00:38:23 +00:00
wiz 9589a2f43c Grammar fix in comment. 2004-11-01 23:20:42 +00:00
dsl ef795ed430 Add (unsigned char) cast to ctype functions
Although I can't imagine why the 'seed' must be alphanumeric, nor why
it is later converted to lower case!
2004-11-01 21:52:07 +00:00
dsl d0ad315f4f Add (unsigned char) cast to ctype functions 2004-11-01 21:39:32 +00:00
dsl 447bb30961 Make fn arg 'unsigned char' to avoid passing 'char' to isalnum() 2004-11-01 21:36:11 +00:00
dsl 6632ac4d9c Add (unsigned char) cast to ctype functions 2004-11-01 21:12:59 +00:00
lukem 103626c6a0 default to "compat" not "files" 2004-11-01 08:21:34 +00:00
mycroft 74c82c0ec4 Some miscellaneous cleanup:
* Encapsulate all the ring-specific variables into a substructure.  (This will
  help with some potential code sharing.)
* Don't bother with "last buffer complete" interrupts -- we should be taking an
  interrupt anyway because we set IOC on every buffer.
* Likewise, ignore CELV; it's meaningless to us.
* Get rid of the FIFO error counters, since this doesn't actually happen any
  more.
2004-11-01 06:25:35 +00:00
mbw 6656ca9ab9 - update list of supported machines
- mention that NetBSD uses different names for serial ports than OF
 - update date of supported hardware info
2004-11-01 01:02:09 +00:00
mbw d3f05af5f8 list a few more open firmware settings 2004-11-01 01:01:47 +00:00
mbw 1cec4c8070 sparc64 X server no longer has problems with pixmaps. 2004-11-01 00:50:46 +00:00
he 0e9a54d054 Follow up on the constification of audio_hw_if, to fix build
problem for vs.c.
2004-10-31 22:41:23 +00:00
martin 29e38c8b5e When doing a crashdump, counting already dumped MB per mem_region
is ... slightly confusing. Instead calculate the total size of the dump
beforehand and show the number of MB we still need to dump instead - just
like 386 does it.
2004-10-31 21:59:51 +00:00
augustss 7efc81ca56 Make stdout line buffered (in case you are logging). 2004-10-31 21:10:59 +00:00
mycroft 170f82c2c3 Copyright maintenance. 2004-10-31 20:15:16 +00:00
mycroft 43670bc418 More code reduction.
Also, allow any sample rate between 8000 and 48000Hz.  (This range should
probably be larger, but this is what's known to work.)

Another 180 bytes shaved.
2004-10-31 20:00:42 +00:00
mycroft 62405c408b Shave another 112 bytes by reducing some divisions to shifts. 2004-10-31 19:28:31 +00:00
mycroft 53a18a1af1 Fix a regression -- my previous changes made the kernel slightly larger. 2004-10-31 18:30:52 +00:00
mycroft f37709ef90 In the trigger routines, start *all* the blocks, not just the first one. This
was causing some "fifo under/overrun" errors during the initial trigger.

Also fixes a ring synchronization problem introduced in the earlier changes.

This should completely fix the FIFO errors with auich.
2004-10-31 16:49:27 +00:00
he 6ef865c900 Include the <sys/bufq.h> header to allow these to compile again. 2004-10-31 12:52:55 +00:00
yamt 6e71418936 use __insn_barrier rather than homegrown equivalents. 2004-10-31 10:39:34 +00:00
dsainty 5469cb6f9a Make the USB_GET_REPORT error format match the USB_SET_REPORT error format by
including the report the error was on.
2004-10-31 07:36:19 +00:00
yamt f3960e4e30 a header actually used for spl functions is sys/param.h, not machine/intr.h. 2004-10-31 07:01:34 +00:00
mycroft 04699fb576 Reorder some register writes just to be safe. 2004-10-31 06:25:55 +00:00
mycroft 91c9307af1 Attempt to mitigate "fifo underrun" errors in two ways:
1) Update the queue pointers any time we get a block completion interrupt,
   not just when we hit the last block.
2) Set the "back-to-back enable" bit.
In addition:
3) Make sure we ack every block we transfer; there was a bug that could cause
   the audio layer to get out of sync.
2004-10-31 05:50:58 +00:00
darrenr 90032de19d build a new fr_info_t structure in fr_send_ip() and pass it through to
the fastroute function so that it uses accurate packet information about
the packet being sent out rather than the packet received (impacts both
return-rst and return-icmp features.)

PR: kern/27093
2004-10-31 04:52:50 +00:00
grant 0e29cab3fe don't explicitly call gunzip, just pass the right arguments to tar. 2004-10-31 02:45:37 +00:00
thorpej bebd825b66 iee_ioctl(): Make this look like other drivers, fixing a missing "splx(s)"
as a side-effect.  Don't bother handling IFF_PROMISC here, because
ether_ioctl() already calls (*if_init)() to handle flags changes.

When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.
2004-10-30 23:52:22 +00:00
thorpej 559857f039 - qtinit(): Don't skip initialization if we're already marked RUNNING.
ether_ioctl() will call (*if_init)() when flags change.  Instead, do
  what other drivers do and stop the interface in this case before
  re-initializing.
- qtioctl(): Now that qtinit() does the right thing, remove the check
  for IFF_PROMISC change.

  When adding/deleting multicast addresses, only whack the address
  filter if the interface is marked RUNNING.

  Fixes kern/27678.
2004-10-30 23:45:10 +00:00
thorpej 711247fa68 When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.
2004-10-30 23:33:29 +00:00
bouyer c31b572a47 Allow polled commands to be queued, if ata_exec_xfer() is called in thread
context. For this introduce 3 new xfer tags:
- C_WAIT, equivalent of AT_WAIT
- C_WAITACT, when there is a thread waiting on this xfer to become the active
  one (that is, to be at the head of the queue)
- C_FREE, set by ata_free_xfer() when it can't free the xfer because it's
  still in use. The holder should then free the xfer ASAP.

If ata_exec_xfer() is called with (C_POLL | C_WAIT), and there is already
xfers to be processed, assert C_WAITACT and sleep.
atastart() checks for C_WAITACT, and wakeup the thread waiting for this xfer
to become active if set. atastart() won't process this xfer, it's the
responsability of the thread waked up to handle it.

Fix (the right way) kern/27421 by Martin Husemann.
2004-10-30 23:10:37 +00:00
dsl 58d3abc94f Add (unsigned char) cast to ctype functions
Stop infinite loop if get lower case char with no upper case equiv.
2004-10-30 21:52:09 +00:00
dsl e2a58c7a44 Add (unsigned char) cast to ctype functions
A password containg 80...ff could be reported (incorrectly) as being
all lower case.
2004-10-30 21:05:53 +00:00
dsl dfdc37e2fe Add (unsigned char) cast to ctype functions 2004-10-30 20:56:20 +00:00
dsl 108eb2ab42 Add (unsigned char) cast to ctype functions 2004-10-30 20:39:35 +00:00
dsl 06dd932c49 Add (unsigned char) cast to ctype functions - Char is unsigned char. 2004-10-30 20:37:35 +00:00
dsl 5355c81879 Add (unsigned char) cast to ctype functions 2004-10-30 20:17:19 +00:00
mbw 7c1ffafac2 Change to fix PR 25689 for Swedish ADB keyboards
-    KC(52),    KS_Mode_switch,KS_Multi_key,
+    KC(58),    KS_Mode_switch,KS_Multi_key,
2004-10-30 20:13:15 +00:00
dsl 807394cff5 Add (unsigned char) cast to ctype functions 2004-10-30 19:34:01 +00:00
christos 027df12dd8 Pass WARNS=3 2004-10-30 19:29:27 +00:00
christos 175795754a WARNS=3, and remove comment about WFORMAT issues. 2004-10-30 19:28:35 +00:00
christos a7e7123b05 - KNF, WARNS=3, pass lint.
- Simplify octal parsing code.
2004-10-30 19:28:10 +00:00
thorpej fc44282f79 Use elf32-hppa-netbsd output format. 2004-10-30 18:38:38 +00:00
thorpej e9818f5b5e When adding/deleting multicast addresses, only whack the address
filter if the interface is marked RUNNING.

Fixes kern/27678.
2004-10-30 18:08:34 +00:00
dsl b23af931be Add (unsigned char) cast to ctype functions 2004-10-30 17:43:02 +00:00