| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
cycling channel numbers.
remove unused fields from struct snddev_info.
|
| |
|
| |
|
|
|
|
|
|
| |
This adds the config stuff needed to build kernels.
Reviewed by: obrien
|
| |
|
|
|
|
|
| |
is so that all the pccard options are together and this reduces diffs with
GENERIC.
|
|
|
|
|
|
|
|
|
| |
1.307 Turn on kernel debug support
1.309 Turn off pcm
1.311 move wx to miibus chipsets
1.312 Comment out USERCONFIG
Reminded by: mihira-san <sanpei@sanpei.org>
|
|
|
|
| |
crdup() or change_e*id() block on malloc() or mutex.
|
|
|
|
|
|
|
|
| |
information until the problems can be tracked down. Right now these
are unconditional, but later it will be hidden behind a boot verbose.
Also, if there are no events listed in the event mask, return right
away. Specifically avoid writing back interrupt acks in this case.
|
|
|
|
|
|
|
|
|
| |
1: most drivers are sensitive to timing, and
2: the handlers are MPSAFE and need a chance to get into the kernel
before some other non-mpsafe handler blocks the ithread on Giant in
shared irq cases.
Reviewed by: cg (in principle)
|
|
|
|
|
|
| |
handlers. This is beneficial since it means that pcm's MPSAFE handler
can get run before things that will block on Giant in the shared irq
case.
|
|
|
|
| |
MI code in August 2000 elsewhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
worked before.
mixer, dsp and sndstat are seperate devices - give them their own cdevsws
instead of demuxing requests sent to a single cdevsw.
use the si_drv1/si_drv2 fields in dev_t structures for holding information
specific to an open instance of mixer/dsp.
nuke /dev/{dsp,dspW,audio}[0-9]* links - this functionality is now provided
using cloning.
various locking fixes.
|
|
|
|
| |
warning: cast discards qualifiers from pointer target type
|
| |
|
|
|
|
| |
Apply style(9).
|
|
|
|
|
|
|
|
|
| |
ports later on.
This includes the basic MI interface routines as well as a console driver.
The MD code is kept in the MD directories.
Reviewed by: obrien
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
us our first minimal glimpse of PowerPC support.
With this code we can get to the "mountroot>" prompt on my Apple iMac. We
can't get any further due to lack of clock and interrupt handling, among other
things. This does however mean that pmap and VM are initialising.
We're fairly dependant on OpenFirmware at this point, but I hope to add
support for other classes of firmware at a later stage.
Reviewed by: obrien, dfr
|
|
|
|
|
| |
112: warning: cast to pointer from integer of different size
125: warning: cast to pointer from integer of different size
|
|
|
|
|
|
|
|
|
|
|
| |
Print type of pci bridge we find.
Force the IRQ of pci bridges upon all its children.
Allocate the resources on behalf of the bridge when we're testing to see if
they exist.
This should help people who don't read updating instructions very well.
This patch started out with an idea from Shigeru Yamamoto-san in -current.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
make(1) wants to build loader.sym *before* the .o files. Eliminating
one seeminly intermediate step avoids the problem. Somehow, it seems
that variables are not getting expanded at the right time.
Any explanations would be appreciated...
Changing:
${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${LD} ...
To:
BASEOBJS= ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o
${BASE}.sym: ${BASEOBJS}
echo ${BASEOBJS}
${LD} ...
.. the echo only shows LIBFICL, CRT and vers.o. ${OBJS} is not included.
|
|
|
|
|
|
|
|
|
|
|
|
| |
told to use IRQ 6, progam the pcic to use irq 7 instead. Evidentally,
at least some of the cards are wired this way. If you want to use irq
6, configure it. All the mapping is done just before we set the
interrupt registers. See [FreeBSD98-testers 5064] for details.
Added commentary about valid interrupts on some CBUS pc98 CL PD6722
based cards.
Submitted by: Hiroshi TSUKADA-san <hiroshi@kiwi.ne.jp>
|
| |
|
| |
|
|
|
|
|
|
|
| |
built in, or as an addon card (My Japanese isn't quite good enough to
know which). [FreeBSD98-testers 5098] contains all the details.
Submitted by: Kawanobe Koh-san <kawanobe@st.rim.or.jp>
|
| |
|
|
|
|
|
|
|
|
| |
(I'll be we know which compiler and platform they developed this on...)
Minimally change them to C89 comments to make GCC happy. (this is kinda funny
as the file has piece derived from FreeBDS 3.2)
Also fix FreeBSD id style.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The DP83820/83821 has an undocumented limitation concerning jumbo frames
and TX checksum offload. In order for TX checksum offload to work, the
outgoing frame must fit entirely within the TX FIFO, which is 8192 bytes
in size. This isn't a problem, until you try to send a 9000-byte frame,
at which point the TX DMA engine goes to sleep. It turns out that if
you want to send a jumbo frame larger than 8170 bytes (8192 - 64), you
have to turn off the TX checksum support.
As a workaround, I changed nge_ioctl() so that if the user selects an
MTU larger than 8152 bytes, we clear the if_hwassist flags. The flags
will be set again once the MTU is reduced to a smaller value.
|
| |
|
| |
|
| |
|
|
|
|
| |
the previous commit.
|
|
|
|
|
| |
PR: 25006
MFC after: 2 weeks
|
|
|
|
| |
Submitted by: Niels Provos <provos@citi.umich.edu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use db_printf() instead of printf().
- Clean up decode_syscall() to use regular if-then-else rather than goto's.
- Use the same method of parsing PID's for per-process traces as the x86
code does: that is, if the address passed in is not a valid kernel
address, treat it is a decimal pid.
- If the pid of the current process is specified, fall back to using the
"default" parameters for the trace as curproc's pcb is not valid at this
point.
MFC after: 1 week
|
|
|
|
| |
I'd gone wrong before: we have to set csum_data to 0xffff, not 0.
|
|
|
|
|
|
|
| |
we want the checksums calculated on a per-packet basis using control bits
in the extsts field of the DMA descriptor structure. For TX, the chip
seems to want these bits set in the field of the first descriptor in
a fragment chain, not the last.
|
| |
|
|
|
|
| |
Issue raised by: scottl
|
|
|
|
| |
linux_debug_map[] is referred to from elsewhere.
|
|
|
|
| |
163: passing arg 4 of `resource_string_value' from incompatible pointer type
|
|
|
|
|
| |
585: warning: missing braces around initializer
605: warning: missing braces around initializer
|
|
|
|
|
| |
908: warning: long unsigned int format, unsigned int arg (arg 3)
887: warning: `timezero' defined but not used
|
|
|
|
|
| |
235: warning: unsigned int format, pointer arg (arg 3)
621: warning: cast discards qualifiers from pointer target type
|
|
|
|
| |
239: warning: no previous prototype for `linux_debug'
|
|
|
|
| |
413: warning: long unsigned int format, vm_offset_t arg (arg 2)
|