Commit Graph

87306 Commits

Author SHA1 Message Date
xtraeme 02e5ad5584 Initialize msr_read explicitly to avoid a hang, from FUKUMUTO Atsushi. 2007-04-03 07:56:08 +00:00
macallan f5a25c2db5 regen 2007-04-03 03:33:54 +00:00
macallan 8ec5fb10e2 add 1680x1050 @ 60.00Hz 2007-04-03 03:33:41 +00:00
jmcneill c38a78ca65 Match AOAKeylargo, and don't make finding deq a requirement. Sound now
comes out of my last gen G4 Mac Mini, minus mixer controls. ok macallan@
2007-04-03 03:26:52 +00:00
macallan d0ebad929a adapt to pmu changes 2007-04-03 03:15:17 +00:00
macallan 06802d0b24 cleanup a bit, fix some stupid pasto
thanks to jmcneill for finding the problem
2007-04-03 03:09:25 +00:00
christos 7074d009d5 Don't panic if we don't find a symbol or string table. Perhaps the kernel
has been stripped?
2007-04-02 16:44:44 +00:00
njoly 5c37954c94 Fix select() behaviour with NULL timeout, to blocks indefinitely
instead of returning immediately.
Reported by Edgar Fuß on port-amd64@.
2007-04-02 16:29:55 +00:00
mishka 933b97ecac Implement locking switcher for alternative layots (many languages
are based on completely different alphabet, and typesetting with
one of modifiers pressed all the time is just a PITA). See
http://mail-index.netbsd.org/tech-kern/2007/03/29/0002.html for
usage details.

While here, perform the following small cleanups:
- KS_Cmd_Scroll* execution should be explicitly interrupted with 'break'.
- Some 'human' cleanups in ksym extraction algorithm (no func. changes).
- Add a note: implemented ksym translation isn't sufficient for l10n.
2007-04-02 10:01:31 +00:00
hannken 13daf5bc6e Remove calls to now obsolete vn_start_write() and vn_finished_write(). 2007-04-01 10:15:01 +00:00
christos a7761fd2c5 Instead of reading and writing little by little, allocate memory and
write the whole map in one shot so that we don't have to deal with the
map changing under us. Fixes the linux emulated jdk-1.6 where it was
losing the last map entry and could not find the stack on startup.
2007-04-01 03:18:57 +00:00
christos 6a4825167b return a page less than the actual top of stack so that linux-java works. 2007-04-01 03:16:44 +00:00
uwe 17dd2bf13d Mark __sh4_itlb_invalidate_all we call while running on P2 with
__attribute__((always_inline)) or gcc might decide not to inline it,
resulting in P2->P1 call.
2007-03-31 22:49:49 +00:00
plunky fb76dbd4fc change declaration for protosw.h const symbolic strings to static, so that
they can be used by more than one source file without causing duplicate
definitions.
2007-03-31 18:17:13 +00:00
hannken 3b5501efa7 Cleanup last by using a "n"umeric address space identifier.
Ok: Martin Husemann <martin@netbsd.org>
2007-03-31 13:04:21 +00:00
martin de3603e82a caddr_t fallout (only visible with options PPPOE_SERVER) 2007-03-31 11:00:23 +00:00
matt a484b6a3f3 Add -fno-pic to CFLAGS and AFLAGS 2007-03-31 06:03:13 +00:00
matt ea4611db47 s/volatile/__volatile 2007-03-31 06:02:08 +00:00
matt 2538fd4e27 Don't use an uninitialized lastaddr (initialize it to 0). 2007-03-31 06:01:33 +00:00
matt db9db0872e Don't exceed array bounds (found by gcc 4.3).
XXX not sure if the fix is correct.
2007-03-31 06:00:38 +00:00
matt 2a142509e8 Build kernels with -fno-pic. 2007-03-31 05:59:45 +00:00
martin a63279589c When invalidating a context, make sure to flush user windows upfront.
Do not set the DMMU secondary context to 0 (that would be kernel), and
add a few required membars after switching the secondary dmmu context.

This avoids SIRs caused by double kernel_data_faults, caused by spills
of obsolete user windows after the context for that user pmap is gone.
2007-03-30 21:14:13 +00:00
plunky f21bb76883 be more explicit and consistent in use of KASSERT with pointers,
test against NULL
2007-03-30 20:47:02 +00:00
rumble 9b1a76ecf8 The wd33c93 chip appears to be clocked at 20MHz for all systems with a HPC. 2007-03-30 19:04:40 +00:00
pooka de976b706d g/c some commented ltsleep calls accidentally left from newlock2 adaptation 2007-03-30 18:25:02 +00:00
pooka 115fa924ee * abstract ASYNCBIOREAD and let callers freely issue a callback called
from putop.  even though there's only one user currently, makes code
  more readable
* move "delta" to a standard parameter in vntouser and get rid of the
  specialcase vntouser_delta
2007-03-30 17:48:57 +00:00
christos e6e1d4eb1a PR/36102: Yojiro UO: Restore revision 1.142's way of reading the descriptor
because uplcom hangs otherwise. Also reported by Anon Ymous.
2007-03-30 16:52:12 +00:00
he b1bfbbc629 Drop `const' from a couple of declarations to comply with the latest
update of _def_time.c, ref. PR#10877.
2007-03-30 15:55:38 +00:00
ad 0ac3a31ea3 Cosmetic changes. 2007-03-30 11:06:58 +00:00
ad 3d5b66ed02 Always include kernel_lock so that LOCKDEBUG checks can find the symbol. 2007-03-30 11:05:59 +00:00
uwe 58951c715e In sh_clock_init just make sure that rtc oscillator is running, but
don't start rtc, so that rtc(4) can report wall time as invalid if
clock was not running on attach.
2007-03-30 00:37:51 +00:00
uwe 3ce2a9cb4d On attach check if clock is running, mark it invalid if not. Return
error from gettime method if clock is not valid.  Mark clock as valid
on settime.

Report more debugging info.
2007-03-30 00:32:58 +00:00
uwe a4d20321d9 Re-enable interrupts in tlb_exception too. 2007-03-30 00:12:54 +00:00
uwe 86d3d1e448 Include #include <sh3/devreg.h> like other *reg.h do. 2007-03-29 23:09:41 +00:00
pooka 78762a532d in userdead assign waiter return value only if there is a waiter for
a particular request
2007-03-29 22:11:43 +00:00
ad 5714ab2718 Make cv_has_waiters() return type bool. 2007-03-29 17:39:34 +00:00
ad 79da439b94 - cv_wakeup, cv_broadcast -> cv_signal where appropriate
- Update some comments.
2007-03-29 17:37:13 +00:00
ad 4911263df8 cv_wakeup -> cv_signal 2007-03-29 17:35:17 +00:00
ad 6cf46baa77 - cv_wakeup: remove this. There are ~zero situations where it's useful.
- cv_wait and friends: after resuming execution, check to see if we have
  been restarted as a result of cv_signal. If we have, but cannot take
  the wakeup (because of eg a pending Unix signal or timeout) then try to
  ensure that another LWP sees it. This is necessary because there may
  be multiple waiters, and at least one should take the wakeup if possible.
  Prompted by a discussion with pooka@.
- typedef struct lwp lwp_t;
- int -> bool, struct lwp -> lwp_t in a few places.
2007-03-29 17:34:39 +00:00
ad 9982390dd6 lwp::l_acflag is no longer used. 2007-03-29 16:51:21 +00:00
pooka 6ce49d93c1 convert to MALLOC_JUSTDEFINE 2007-03-29 16:30:07 +00:00
pooka 9e407afead Introduce MALLOC_JUSTDEFINE{,_LIMIT} which act like their JUSTless
counterparts apart from not adding the new type to the link set and
hence not registering automatically at boot time.  This can be used
to avoid a separate #ifdef _LKM path in some cases.
2007-03-29 16:29:08 +00:00
pooka 78693816f2 Convert spinlocks & sleep/wakeup to newlock2 locking stuff. Fix a
bunch of bugs.

* park structures are now always allocated from a pool instead of a
  mixed stack/malloc allocation
* get rid of the whole adjbuf concept, always just alloc the maximal
  amount of memory to satisfy a request
* little regression: don't allow interrupting wait from file system
  to userspace; this had problems already before, but now the problems
  really started to shine through.  I'll try to make this work again
  some day.
* fix bmap to return a sensible value in runp
2007-03-29 16:04:26 +00:00
dillo 6c83a28313 Now that all DRM drivers build (thanks jmcneill), readd them. 2007-03-29 13:11:14 +00:00
dillo 46009d7e0f Fix include paths. Now all drm drivers build. 2007-03-29 13:09:48 +00:00
jmcneill e741359891 Fix include paths, mgadrm compiles now. 2007-03-29 11:42:39 +00:00
jmcneill 4ce279101e In drm_remove_magic, free the magic entry when it is found instead of
attempting to free a NULL reference in the error case. From Yorick Hardy.
2007-03-29 11:31:06 +00:00
dillo d571ffa806 Revert previous, mgadrm does not compile. 2007-03-29 08:44:23 +00:00
dillo c618a0d039 Add DRI drivers. 2007-03-29 08:27:01 +00:00
adrianp b02eb0fb91 A number of functions do not validate the length of arguments passed.
As a result of this a user could supply a bad 'sockaddr' structure to
clnp_route() via connect(2).
Issue found by Christer Oberg and patch from christos@ (NetBSD-SA2007-004)
2007-03-29 08:19:20 +00:00
uwe 39792f9d55 Mark inline functions we call while running on P2 with
__attribute__((always_inline)) or gcc might decide not to inline them,
resulting in P2->P1 call while we mess with the cache, and kernel
would just hang immediately on boot.
2007-03-29 01:51:49 +00:00
uwe 5f9be1916f G/c ancient workaround that has been commented out for ages. 2007-03-28 23:59:00 +00:00
jmcneill 11827f045a Introduce options DRM_NO_AGP and DRM_NO_MTRR, so I can run this on
platforms that don't provide these services.

In drm_mmap, don't wrap the return value with atop() if we're on macppc.

While we're here, fix:
	pci_intr_establish(&dev->pa.pa_pc, ...);
to:
	pci_intr_establish(dev->pa.pa_pc, ...);

The former doesn't even compile on macppc, and I'm amazed that it works at
all anywhere else.
2007-03-28 11:29:36 +00:00
simonb 63c0e43159 Whitespace nit. 2007-03-28 03:55:19 +00:00
jmcneill f99eecc8b2 Make this compatible with tdfxdrm. 2007-03-27 22:44:42 +00:00
jmcneill 1cd076928b Instead of having a lookup table of devices that support AGP V3, use the
capabilities register to determine the chipset's supported AGP mode. We
still fallback to V2 compatibility mode when necessary.
2007-03-27 20:57:46 +00:00
salo 1eaca7c5df fix typos in last, Eratta->Errata 2007-03-27 13:13:49 +00:00
pooka 92f2958999 regen 2007-03-27 12:42:31 +00:00
pooka 4823cfcfaf add GeForce Go 7600 2007-03-27 12:41:39 +00:00
jnemeth 45ed5307a6 fix a couple of syntax issues in sparc code from Tobias Nygren 2007-03-27 10:17:48 +00:00
jnemeth 618e615736 move definition of FTC_FLIP to auxioreg.h to mirror sparc 2007-03-27 10:13:12 +00:00
msaitoh f727e5ef27 Workaround for 82541 Eratta 29 and 82547 Eratta 28.
These devices have to reset the PHY before reset the MAC.

Reported and tested by salo.
2007-03-27 01:56:41 +00:00
jmcneill 68557987f6 Add AGPv3 support to VIA AGP driver from FreeBSD.
I can now use DRI w/ AGP enabled on my r300.
2007-03-27 00:34:16 +00:00
garbled 47dfabcdf7 Add support for VIA V-TECH ata raid. Tested on 4.0 with RAID0, RAID1 and
SPAN over a pair of sata drives on a VT8237A SATA Controller.
2007-03-27 00:10:20 +00:00
garbled 4398c0d8cd The VT8237A SATA Controller uses chip_map_7, not 0, tested and confirmed
working on my machine.  Also when a via controller is set to RAID mode,
it sets the pci_subclass to raid.  Notice this and set ATAC_CAP_RAID.
2007-03-27 00:04:04 +00:00
hubertf df0f62d579 Remove unneeded #include <getopt.h>
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 23:08:29 +00:00
hubertf 3bfc0c42ee Remove duplicate #include's
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:52:44 +00:00
hubertf 44ca4086fb Move #include <sys/param.h> that's included in both parts of an #if/#else
into one place outside the condition.

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:49:22 +00:00
hubertf 7ab6344caa Remove duplicate #include <sys/param.h>, and instead
#include <sys/cdefs.h> for __KERNEL_RCSID()

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:46:20 +00:00
hubertf ef314e20d0 Remove duplicate #include <sys/param.h>,
and pull in the <sys/cdefs.h> needed for __KERNEL_RCSID

From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:44:40 +00:00
hubertf 708be2b580 Remove duplicate #include <sys/kauth.h>
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:43:19 +00:00
hubertf 9446dc7bf8 Remove duplicate include of <sys/agpio.h>
From: Slava Semushin <php-coder@altlinux.ru>
2007-03-26 22:42:39 +00:00
dyoung b0bb6c2505 Reference the right flag,
s/IEEE80211_RADIOTAP_F_FCS/IEEE80211_RADIOTAP_F_BADFCS/.
2007-03-26 21:22:35 +00:00
cube c8ff1b6980 Count environment vars with envc, not argc [hi dsl!]. Reported by Nicolas
Joly in private mail.
2007-03-26 17:12:02 +00:00
dogcow 0c56428a1b fix build, after the moving around of the agp stuff 2007-03-26 16:56:09 +00:00
njoly 471f710a5a Sync with recent compat linux termios changes. 2007-03-26 13:46:50 +00:00
njoly 6bf18aa85e Update i386 LINUX_{TIOCGPTN,TIOCSPTLCK} definitions for latest
linux_ioctl_termios() changes.
2007-03-26 12:26:11 +00:00
xtraeme 6fac3c8e51 Fix a typo getting the fan values, it was using incorrect uid. 2007-03-26 07:27:36 +00:00
dyoung 9ff230d3d6 Define four new radiotap fields per discussions with John Bicket, Sam
Leffler, and others:

        IEEE80211_RADIOTAP_RX_FLAGS = 14,
        IEEE80211_RADIOTAP_TX_FLAGS = 15,
        IEEE80211_RADIOTAP_RTS_RETRIES = 16,
        IEEE80211_RADIOTAP_DATA_RETRIES = 17,

I describe the fields in the manual page and in comments in the
header file (cross-referenced by the manual page).
2007-03-26 04:32:14 +00:00
xtraeme 1af43bae06 aiboost_getcomp: fix memcpy and use the length provided by the ACPI Object.
aiboost_refresh_sensors: fix a debugging printf.
2007-03-26 04:22:28 +00:00
liamjfoy 68880dffbf Add a small note regarding further commented code in netinet6/ip6_flow.c 2007-03-26 00:29:15 +00:00
macallan 780a081043 on AGP capable bridges try to attach an agp device 2007-03-25 23:43:17 +00:00
macallan b2fbecd2f8 fix typo 2007-03-25 23:38:22 +00:00
macallan 451dceb6ff attach a drm 2007-03-25 23:37:06 +00:00
macallan 60cbbfdc51 add very experimental Apple UniNorth AGP driver 2007-03-25 23:32:40 +00:00
macallan 7325f7959a very experimental Apple UniNorth AGP support 2007-03-25 23:31:51 +00:00
macallan fad2fa365e dummy agp_flush_cache() 2007-03-25 23:30:41 +00:00
macallan 4605d052e4 remove some accidentially committed stuff :/ 2007-03-25 23:29:16 +00:00
macallan f842dbae9a attach smartbat* when appropriate 2007-03-25 23:26:26 +00:00
macallan 3fff052258 automatically switch between speaker and headphone output, simplify mixer
controls to match snapper
XXX - the gpios to monitor audio jacks are wired differently on different
Macs, this is known to work right on beige G3, PowerBook 3400 and Performa
63xx, it should do The Right Thing on others as well but needs more testing
2007-03-25 23:25:23 +00:00
macallan a83aebf407 skeleton smart battery driver. Doesn't do much yet. 2007-03-25 23:22:46 +00:00
macallan fd90105b35 add smartbat driver, defflag some debug stuff 2007-03-25 23:21:45 +00:00
degroote 0138b12722 Honor the ip4_ah_offsetmask bits (clear or not the ip->ip_off field for ah
processing).
2007-03-25 22:11:18 +00:00
degroote 46c420f11a Use ip4_ah_cleartos instead of ah_cleartos for consistency 2007-03-25 22:06:33 +00:00
tls ff577890f0 Revert revision 1.6: with a -current GENERIC.MP kernel we cannot reproduce
the TLB shootdown IPI storms on any of the machines in question.
2007-03-25 20:49:05 +00:00
mlelstv 46e95ff4ed add missing W coordinate 2007-03-25 20:28:03 +00:00
liamjfoy b8ef59d720 Add net.inet.ip.hashsize to control the IPv4 fast forward hash table size. 2007-03-25 20:12:20 +00:00
mlelstv a77a2ee482 Add values for Pentium M 780 (2.26GHz). 2007-03-25 17:12:32 +00:00
mlelstv f4a46a86ea Handle events from passthrough devices like the Thinkpad 'Navistick'. 2007-03-25 16:26:41 +00:00
jmcneill 6a9cc7b708 Handle the input change interrupt, and automatically switch between
headphone and speaker as appropriate.
2007-03-25 13:45:58 +00:00
degroote 40cf3d18fa Make an exact match when we are looking for a cached sp for an unconnected
socket. If we don't make an exact match, we may use a cached rule which
has lower priority than a rule that would otherwise have matched the
packet.

Code submitted by Karl Knutsson in PR/36051
2007-03-25 12:46:42 +00:00
jnemeth 0b59ea5a73 Fixed formatting. Problem was that we were trying to get the result
of a data transfer operation immediately after the data transfer
was finished, instead of waiting for the chip to interrupt us and
tell us that it was finished and had the result for us.  This worked
okay for read and write since the operation would be finished very
shortly after the data transfer completed.  However, with formatting,
the chip still had most of the rest of the track to do, so we ended
up timing out before the operation was finished.
2007-03-25 09:29:11 +00:00
isaki f6b15a715e Regen; ATI ES1000. 2007-03-25 06:42:20 +00:00
isaki 4185e7fad0 Add ATI ES1000. 2007-03-25 06:41:30 +00:00
xtraeme aeee45c69c Explicitly initialize msr. 2007-03-25 02:44:29 +00:00
xtraeme 8340d8f47f typo. 2007-03-25 02:41:53 +00:00
xtraeme 8cd29f0e64 Add another member to struct cpu_msr_broadcast, msr_read that will
enable the rdmsr call in msr_write_ipi(), so that when it's not
defined we don't read it before writing; disabled in powernow_k8
and enabled in the others.
2007-03-25 02:27:16 +00:00
sekiya 5afc64c3b1 Update my bits of the TODO list. 2007-03-25 00:49:31 +00:00
christos bf9f72425e comment out unmap; breaks X. 2007-03-24 23:02:24 +00:00
uwe f36e3e9ebe G/c unused defines/includes. 2007-03-24 21:32:11 +00:00
rmind 60e35a7f80 Export uvm_uarea_free() to the rest.
Make things compile again.
2007-03-24 21:15:39 +00:00
jmcneill 04a1167b6f Fix header locations for NetBSD. 2007-03-24 20:33:08 +00:00
christos 8a0e56297d KNF, properly protect. 2007-03-24 17:50:17 +00:00
rmind 7b9af0160d Handle newlwp() error case. Currently, newlwp() cannot fail, but this
will likely change in the future.
2007-03-24 16:43:56 +00:00
xtraeme 0a3943cb24 * Remove the WRITE_FIDVID macro from powernow.h and use it in in the
powernow_k8 driver (much better than undeffing and write it again).
* Fix the WRITE_FIDVID macro, I changed it to use the third argument
  for the bitmask, but it's not correct.

Last change should fix the problem reported by FUKUMOTO Atsushi.
2007-03-24 15:35:15 +00:00
jmcneill 881e272543 Include dev/pci/drm/files.pcidrm 2007-03-24 15:04:43 +00:00
jmcneill 80411c1546 Separate DRM files from files.pci 2007-03-24 15:04:10 +00:00
skrll 0cdd61de09 Nullify the instruction after hp700_intr_ipending_new... scary. 2007-03-24 09:45:32 +00:00
liamjfoy 64f6a30122 Minor change - be a little more consistant in sysctl handlers names 2007-03-24 00:42:14 +00:00
liamjfoy ac43382f1f Don't call ip*flow_reap if we're just looking up maxflows 2007-03-24 00:27:58 +00:00
reinoud c553649c20 Disable hardware scrolling for now :( It *can* trap on rare occations. Most
likely interrupt related; It might need to be protected by spl().

Disabled as a precaution until the problem is solved.
2007-03-24 00:23:05 +00:00
reinoud ef34b019ed Implement hardware scrolling in vesafb by utilising the whole frame buffer
memory and scrolling trough it. If the hardware is not capable it will
disable hardware scrolling.

For 640x480 at 8 bpp the speedup is around 4 times, at 1280x1280 at 32 bpp
the speedup is around 9.4 times.

Checked and OK'd by Jared McNeill. Thanks go to Jared and Michael Lorenz
for their tips and vcons knowledge!
2007-03-24 00:07:17 +00:00
jmcneill e6e6c988b3 Allow viadrm to attach to unichromefb 2007-03-23 22:17:52 +00:00
jmcneill e44f79d0d5 Make unichromefb(4) peacefully co-exist with viadrm(4).
Basically, when we switch from WSDISPLAYIO_MODE_EMUL to anything else, we
release any bus_space resources. When we return to WSDISPLAYIO_MODE_EMUL,
reclaim these resources and reinitialize the display.

Idea from macallan@
2007-03-23 22:17:30 +00:00
drochner 27622eb242 Work around imperfect hub emulation in the ehci root hub (ohci is affected
too, but that's not critical): real hubs send port status change
notifications until acknowledged, ehci/ohci send only once so there is
a chance that this gets lost if notifications are disabled during a scan.
The temporary fix is to force a rescan; the real fix will involve a
change in interrupt handling in ehci/ohci which needs more work and
testing.
ehci is critical because a port status change during scan regularely
happens if a full/lowspeed device is connected, due to the handover
process.
Fixes a problem where full/lowspeed devices were not reattached after
a disconnect, reported by Kouichirou Hiratsuka and Juan RP
on current-users.
2007-03-23 21:51:34 +00:00
dsl 0fd75511ad Delete some stuff that has been commented out for over 12 years, and
some that shouldn't have been left commented out when the field got moved.
2007-03-23 21:00:25 +00:00
dogcow 5eb224a2d3 the last of caddr_t in sys/, save for netbsd32_caddr_t and the like. 2007-03-23 20:05:47 +00:00
dogcow 1aec633c29 caddr_t -> char *, even though it's in #ifdef __FreeBSD__ sections, just
so grep -r won't show it any more.
2007-03-23 20:01:45 +00:00
ad bb25376cda Fix a deadlock w/kqueue that was introduced with the last set of changes.
Spotted by yamt@.
2007-03-23 18:33:43 +00:00
macallan cc085574cb caddr_t -> void * 2007-03-23 17:35:02 +00:00
drochner ca93d5d12d simplify previous: no need to call pci_mapreg_info() 2007-03-23 16:39:07 +00:00
jmcneill 046c275369 Initialize mmadrsize in the non-i910 case, otherwise we end up passing an
uninitialized variable to bus_space_unmap.
2007-03-23 16:27:59 +00:00
jmcneill aeb34d786e Add viadrm 2007-03-23 15:00:38 +00:00
jmcneill c36fda54e9 Import viadrm(4) from DRI git. 2007-03-23 14:58:55 +00:00
liamjfoy a3580ff06f Add a new sysctl net.inet6.ip6.hashsize to control the hash table size.
The sysctl handler will ensure this value is a power of 2

ok dyoung@
2007-03-23 14:24:22 +00:00
njoly 1f4051d826 Fix generated file names from makesyscalls.sh (s/linux/linux32/).
From Edgar Fuß in PR/35956.
2007-03-23 12:26:10 +00:00
drochner f67e2cbf66 Free ressources more agressively.
(The natural place for this would be on each close, but we don't have
a driver entry point for this.)
from Yorick Hardy
2007-03-23 11:06:31 +00:00
mrg 2cdaa49944 implement emul.linux.kern.machine, which can be set to "i686", like
some applications seem to want.
2007-03-23 04:16:13 +00:00
uwe 7220e7517c We don't need SYMTAB_SPACE. 2007-03-23 02:19:17 +00:00
xtraeme 3cd917fe6c Use void * rather than caddr_t to fix the build. 2007-03-22 23:35:00 +00:00
christos b98f564e9f prevent caddr_t use in the kernel so that it does not creep in again. 2007-03-22 18:00:39 +00:00
jmcneill 3b4d961fa2 Re-enable writeback test (shouldn't have been disabled in the first place) 2007-03-22 15:17:59 +00:00
jmcneill 7126d77514 Newline after foodrm0 at vga0 message. 2007-03-22 15:14:20 +00:00
dillo 41627b2c38 Add support for HFS Wrapper (HFS+ volume inside an HFS volume).
Remove offset argument, we should now find an HFS+ volume in any
of its standard places.

Based on work from and test image provided by Pelle Johansson.
2007-03-22 13:21:28 +00:00
dillo 30f474b9e1 Add support for HFS Wrapper (HFS+ volume inside an HFS volume).
Remove offset argument, we should now find an HFS+ volume in any
of its standard places.
2007-03-22 13:21:27 +00:00
dillo 081267c306 Add a few. 2007-03-22 13:20:13 +00:00
gdt 1ecfe4dec1 Add apm emulation via acpi.
Enable cardbus attachment for lots of devices.  The drivers were
already compiled in via pci attachment, and GENERIC supports cardbus,
so there's no reason not to attach.

With this, GENERIC.MP works well on a Thinkpad T60.

(proposed on port-i386, no objections received)
2007-03-22 12:40:06 +00:00
njoly 6beba6f9d8 s/linux/linux32/ in warning messages. 2007-03-22 12:08:51 +00:00
garbled ae2d0d18ae When we have a non-PReP pci bridge, we need to perform a single swizzle
on the pin, to get us the right pin on the underlying PReP bridge to wire
the interrupt to.  Tested with a 4-port fxp card on a 7043-140.  Thanks
to simon for helping me get the math right.
2007-03-22 08:23:10 +00:00
xtraeme efcf1e7924 Use __arraycount. 2007-03-22 06:00:33 +00:00