Age | Commit message (Collapse) | Author |
|
1. Simba, the UltraSPARC-IIi Advanced PCI Bridge doesn't support the standard
address range registers. Skip resource accounting on these devices for now.
2. Some machines (for example sparc64) actually implement a 32-bit I/O space,
so start parsing the registers that gives us the upper 16 bits and make
sure the extent covers the entire 32-bit address range.
|
|
|
|
|
|
an empty slot before the ioc card (such as on Fuel).
|
|
|
|
by Wim Van Sebroeck. Commented out in GENERIC but Heriberto Molina is
getting devices for developers so we can maintain this more easily.
Many thanks to both!
Man page will follow later.
``don't hold back for man page'' deraadt
|
|
|
|
|
|
|
|
|
|
by default might not be in a converter group. make sure such a
dac is not disabled and gets a meaningful name.
|
|
create the converter group lists. start with converters that are
connected to pins by default, then add converters that can be
connected to pins.
|
|
be a non-generic version. move the prototype to azalia.h so it
can also be used in azalia.c in the future.
|
|
the pin nids, the default converter the pin connects to and the
pin's priority. priority is based on the pin's default direction
and the association and sequence numbers from the vendor. according
to the hda spec, lower association/priority means higher priority.
sort the list in order of highest to lowest priority.
|
|
default
- a function to find the first adc in the adc list that a node is
connected to
- use these functions to find which adc the internal mic is connected
to by default
|
|
and do some further initialization and information gathering:
- disable mixer and selector widgets that don't have any enabled
connections
- create lists of analog and digital input and output converters
- find the internal/fixed connection microphone and speaker, and
which converters they are connected to by default
- create a list of jack sensing capable pins
some of this was already being done in other places, but moved here
for simplification/better organization
|
|
connections to a mixer widget are enabled and unmuted by default.
when finding a default connection through a mixer, check all
connections, not just the "selected" connection.
|
|
Initial diff from reyk with a bunch of critical fixes from me.
ok reyk@, 'put it in when you're confident with it' dlg@ on an earlier rev.
|
|
and add a missing argument to one of the printf calls.
ok art@
|
|
Tested by Christian Stuermer.
|
|
hme_stop(). From Brad.
|
|
allocate mbufs for it. Another jumbo allocator bites the dust!
ok dlg@
|
|
shrinks the output of installboot by a few lines.
|
|
Instead of keeping a bitmask of on which cpu the pmap might be active which
we clear in pmap_deactivate, always keep a pointer to the currently loaded
pmap in cpu_info. We can now optimize a context switch to the kernel pmap
(idle and kernel threads) to keep the previously loaded pmap still loaded
and then reuse that pmap if we context switch back to the same process.
Introduce a new IPI to force a pmap reload before the pmap is destroyed.
Clean up cpu_switchto.
toby@ ok
|
|
|
|
turned up in pf_icmp_state_lookup.
ok sthen@
|
|
extents based on address range forwarded by the bridge as indicated by
the limit registers. Remove the now redundant BAR initialization code
for type 0 devices.
ok oga@
|
|
by Antoine Jacoutot. back out for oga to look at when he gets back in
touch with earth.
|
|
Hellerstedt
|
|
for an ID uses that space. It is better to name it by that name to be
more clear what is going on. shrug. this story dug out by sthen
|
|
- getnewbuf dies. instead of having getnewbuf, buf_get, buf_stub and
buf_init we now have buf_get that is smaller than some of those
functions were before.
- Instead of allocating anonymous buffers and then freeing them if we
happened to lose the race to the hash, always allocate a buffer knowing
which <vnode, block> it will belong to.
- In cluster read, instead of allocating an anonymous buffer to cover
the whole read and then stubs for every buffer under it, make the
first buffer in the cluster cover the whole range and then shrink it
in the callback.
now, all buffers are always on the correct hash and we always know their
identity.
discussed with many, kettenis@ ok
|
|
idle proc. p_cpu might be necessary in the future and pegging is just
to be extra safe (although we'll be horribly broken if the idle proc
ever ends up where that flag is checked).
|
|
now reported in hw.vendor and hw.product.
|
|
pool_init does its job properly.
|
|
in pool_init so you the pool struct doesn't have to be zeroed before
you init it.
|
|
|
|
on the tx rings (one mbuf ptr/dmamap array entry was created for
every tx descriptor slot at attach time) with a dynamically grown
list of mbuf pointers and dmamaps.
bnx used to have 512 dmamaps/mbuf pointers for the tx ring, now my
system is running with 8 under moderate load.
the big bonus from this is that the dmamap handling is greatly
simplified.
reyk@ likes this a lot
|
|
calculation of ticks. Saves 26 bytes.
ok oga `fine' deraadt
|
|
see the ancient mode 2 on machines capable of running OpenBSD/amd64.
ok deraadt@, toby@, oga@
|
|
mapping to the gart than the old code, and shouldn't conflict with
bouncebuffers when they're added.
This is essentially the sparc64 iommu code that's been modularised a bit
so I can eventually use the same code for agp-based dma for memory
managed drm drivers.
Now, this would overflow ramdiskA, so iommu and sg_dma are now #ifndef
SMALL_KERNEL.
ok kettenis@, marco@. SMALL_KERNEL discussions with deraadt.
|
|
|
|
|
|
|
|
before deciding to attach dsrtc.
|
|
|
|
ok oga@
|
|
also true. no binary change without EHCI_DEBUG.
ok jsg@
|
|
Replaces pchb with amas for the AMD64 address map.
amas0 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
Currently disabled (causing pchb to attach instead).
ok art@
|
|
last descriptor slot in the ring. the tx completion code expects the dmamap
to be there so it can unload it.
ok reyk@
|
|
ok dlg@
|