Commit Graph

87344 Commits

Author SHA1 Message Date
jmcneill
845cd29d75 Add SGI O2 MACE audio driver, from OpenBSD. 2007-04-13 03:37:41 +00:00
jmcneill
e7c2f5f47f Add some MACE audio bit definitions, from OpenBSD. 2007-04-13 03:36:24 +00:00
jmcneill
436a56bf9f Add AD1843 codec register defenitions, from OpenBSD. 2007-04-13 03:35:38 +00:00
gdt
a648308ef6 Rewrite coda_{get,put}pages. Now copying files from coda with mmap
does not trigger assertions in uvm_fault, and executing files from
coda works as well.

Code very lightly reviewed by wrstuden@; scrutiny by those who
understand vnode and especially {get,put}pages would be appreciated.
2007-04-12 23:34:50 +00:00
matt
89cbd8eca5 Remove the BUS_DMA_COHERENT check from bus_dma_mmap 2007-04-12 23:07:50 +00:00
matt
ec4c8bca53 If bus_space_mmap is asked for a COHERENT page, make the phys addr is from
KSEG1.
2007-04-12 22:48:38 +00:00
jmcneill
7abea6b501 Don't claim to be the console if we're supposed to be using a serial
console. While we're here, save a few MB of RAM by properly calculating
the framebuffer size based on the selected video mode.
2007-04-12 22:30:48 +00:00
dogcow
bfac324824 unb0rk config(1) of GENERIC and friends. 2007-04-12 22:28:05 +00:00
matt
a2a9594187 Make tc_knowndevs const. 2007-04-12 21:39:24 +00:00
matt
55fa5792a8 Make tc_knowndevs const. 2007-04-12 21:35:08 +00:00
garbled
fa0b399b5b regen 2007-04-12 18:00:17 +00:00
garbled
7917c11a42 Add the product defines for the cards I intend to write support for. It
seems like we should just add the product defines to all of them.
2007-04-12 18:00:05 +00:00
jmcneill
e88e747668 Replace pckbc with macekbc.
Enable crmfb
Enable wsfont, wsmux
2007-04-12 13:14:53 +00:00
jmcneill
eaf962445e Remove pckbc_mace, it has never worked and has been replaced by macekbc 2007-04-12 13:12:00 +00:00
jmcneill
5d51f0c963 Enable O2 onboard framebuffer driver. 2007-04-12 13:10:59 +00:00
jmcneill
d4c79dc9a5 Add crmfb, a framebuffer console driver for the onboard O2 video (SGI-CRM) 2007-04-12 13:10:20 +00:00
skrll
ee87345f90 Remove unused label. 2007-04-12 10:07:36 +00:00
dyoung
b7dea03346 Make the members of the descriptors volatile, because the NIC and
the host share them.

Before breaking out of the loop over descriptors in gem_rint(),
DMA-resynchronize the first Rx descriptor we found that does not
belong to the host.  We must avoid a cached descriptor "covering"
a descriptor in RAM, because the cached descriptor may say that
the descriptor still belongs to the NIC, when that is not true,
and the driver will hang.

XXX I believe this driver only works by luck on hosts that both
XXX have a cacheline size greater than the size of a descriptor
XXX (16 bytes) and lack DMA/cache coherency.  I need to add some
XXX trickery to make sure that we don't scribble over the NIC's
XXX changes to a descriptor when we flush a cached descriptor to
XXX RAM with bus_dmamap_sync(9).
2007-04-12 06:14:40 +00:00
dyoung
af26ee6d9c Use PRIx64 and PRIx32 format strings. Remark about lack of DMA
synchronization at some debug code that reads descriptors.
2007-04-12 05:56:01 +00:00
reinoud
1adc8479ba Some rogue implementations use random physical partion numbers just to
break other implementations so lookup the physical number instead of
indexing it. Choosing random numbers here is legal according to the specs,
but not a logical choice and most likely done as a wierd kind of copy
protection.

Rogue implementation found to use this
	*Microsoft CDIMAGE UDF
2007-04-12 01:56:36 +00:00
degroote
20341ba8ef Add sysctl tree to modify the fast_ipsec options related to ipv6. Similar
to the sysctl kame interface.
2007-04-11 22:21:41 +00:00
degroote
68c3173bb4 When we construct an answer for SADB_X_SPDGET, don't use an hardcoded 0 for seq but
the seq used by the request. It will improve consistency with the answer of SADB_GET
request and helps some applications which relies both on seq and pid.

Reported by  Karl Knutsson by pr/36119.
2007-04-11 21:33:40 +00:00
degroote
2a2cd74d79 In spddelete2, if we can't find the sp by this id, return after sending an error message,
don't process the following code with the NULL sp.

Spotted by Matthew Grooms on freebsd-net ML
2007-04-11 21:19:35 +00:00
pooka
664eefa775 update prototype of vfs_vptofh 2007-04-11 21:06:32 +00:00
pooka
f50d2a26f2 * support VFS_FHTOVP and VFS_VPTOFH
* support cookies in for VOP_READDIR

nfs exporting puffs file systems works now
2007-04-11 21:03:05 +00:00
garbled
4256fea0fa add the define of MCA_MAX_SLOTS here 2007-04-11 18:33:52 +00:00
garbled
d3f6afef69 Remove the define of MCA_MAX_SLOTS from mcareg.h, and include
mca_machdep.h, because the maximum number of slots is inherently MD.
2007-04-11 18:32:19 +00:00
garbled
29fbd02006 Regen 2007-04-11 18:11:34 +00:00
garbled
6256d37223 Add a bunch of adapters from my rs6000 to this file 2007-04-11 18:11:15 +00:00
macallan
e1dc09af02 clean up tadpole_request() API
from mrg
2007-04-11 16:30:26 +00:00
njoly
bc7c2c3b94 Regen (statfs support). 2007-04-11 11:51:19 +00:00
njoly
f771d34a84 - Add compat amd64 linux32 statfs support, adapted from PR/35956.
- Move bsd_to_linux_statfs() function to its own file to be shared
  between both linux compats.

ok by manu.
2007-04-11 11:45:55 +00:00
pooka
c634885e0f make overspammy debug printf less overspammy 2007-04-11 09:43:19 +00:00
macallan
7c906f3f93 return 100 in match() so we beat genfb 2007-04-11 05:01:39 +00:00
macallan
df0a99cbb2 fix a typo 2007-04-11 04:48:31 +00:00
macallan
70eab97a3a add WSDISPLAYIO_LINEBYTES support so we can run XFree86 with wsfb 2007-04-11 04:47:09 +00:00
macallan
32376f5c18 pull in rasops1 and rasops32 2007-04-11 04:46:33 +00:00
macallan
9b5f7f0162 add an sbus frontend fro genfb
in theory this should work on any SBus framebuffer
tested on various cgsix and p9100, needs to be tested on more hardware
2007-04-11 04:45:45 +00:00
macallan
02be3c78f3 add WSDISPLAY_TYPE_GENFB 2007-04-11 04:09:10 +00:00
matt
4e8374bdef Workaround a gcc 4.1 issue. don't use s.m = s2.m = s3.m = ...
assign them individually.
2007-04-11 02:22:36 +00:00
jmcneill
ab47cb33cd Add SGI MACE ps2 keyboard/aux controller driver. ok rumble@
XXX can someone confirm that we can remove pckbc_mace?
2007-04-10 23:44:10 +00:00
dsl
74df11d186 Save a byte from the mbr code (by using lret not ljmp). 2007-04-10 16:54:34 +00:00
dsl
e38a76cc13 Change the default 'oemname' from NetBSD20 to NetBSD40 2007-04-10 16:50:25 +00:00
ad
c7f468e608 turnstile_wakeup: when restoring inherited priority, only lock curlwp
if its lock is sched_mutex. We can arrive here while on a sleep queue
(from eg cv_wait) and so curlwp will already be locked.
2007-04-10 13:11:08 +00:00
bouyer
1fde203078 Fix build on 32bit ports; should fix GENERIC_DIAGNOSTIC build problem reported
by Hisashi T Fujinaka on current-users.
2007-04-10 12:18:26 +00:00
bouyer
3b515a1a65 Fix previous: don't AcpiOsFree() twice if the device is valid. 2007-04-10 12:15:27 +00:00
macallan
43b2c2b989 include files.wsfb 2007-04-10 02:50:32 +00:00
macallan
2644a249ac include files.wsfb 2007-04-10 02:40:16 +00:00
macallan
cd8fb15721 include files.wsfb 2007-04-10 02:29:42 +00:00
macallan
d4ddadbf9d include files.wsfb 2007-04-10 02:19:03 +00:00