Commit Graph

182803 Commits

Author SHA1 Message Date
matt 2a393d1c69 Add no options VMSWAP_UAREA and options ENABLE_MIPS_16KB_PAGE.
Gdium now gets as far as the root prompt.
2009-08-09 22:26:45 +00:00
matt ee9482ada7 Add makeoptions DEBUG="-g" 2009-08-09 22:25:41 +00:00
matt 2ec5520014 If using 16KB pages and VMSWAP_UAREA isn't defined, then cpu_switch_resume
becomes a empty routine since the UAREA is now mapped via KSEG0 instead of
via TLB.
2009-08-09 22:24:53 +00:00
matt b75d8d8bd3 If using 16KB pages, don't enable special CCA for loongson2 cpus. 2009-08-09 22:22:51 +00:00
matt 147944b204 Add 16KB variants of MIPS3_PG_{ODDPG,HVN,SVN} 2009-08-09 22:21:44 +00:00
matt 8e96f9bb1a Only swapout uareas if VMSWAP_UAREA is defined (which is should be by default).
If it's not defined and PMAP_MAP_POOLPAGE is defined and USPACE == PAGE_SIZE,
then allocate/map USPACE via uvm_pagealloc/PMAP_MAP_POOLPAGE.

On platforms like MIPS with 16KB pages, this means that uareas (and hence lwp
kernel stacks) will be always be accessible since they will be KSEG0.
2009-08-09 22:19:09 +00:00
matt 3950714196 If PMAP_MAP_POOLPAGE is defined, use it to map kernel map entries. This
avoids TLB pollution on those platforms that define it.
2009-08-09 22:13:07 +00:00
matt 0dee8e59c9 Add [default] option to make UAREAs swappable. Disabling the option makes
them unswappable and therefore allocatable using KSEG/BAT/etc.
2009-08-09 21:58:03 +00:00
christos 9d70e21035 put back drm. 2009-08-09 21:32:16 +00:00
christos c0dd0d68ac remove drm stuff for now 2009-08-09 20:27:06 +00:00
christos 8ae4a49631 add spic and drm to generic 2009-08-09 19:37:35 +00:00
christos 833455e99c spic has moved. 2009-08-09 19:36:28 +00:00
christos c007c5e538 spic is moving 2009-08-09 19:35:36 +00:00
christos 574b39dfa6 move spic to common acpi. 2009-08-09 19:35:02 +00:00
matt 8987d18d1a Initialize Page Mask register based on PAGE_SIZE, don't assume it's always
going to be 4KB.  (And this change, I can boot a GDIUM kernel with 16KB
pages as far as I could with 4KB).
2009-08-09 17:53:54 +00:00
christos a401f72096 - pass unsigned char to toupper
- set snprintf did not bother to uppercase the name. Simplify and fix.
2009-08-09 17:42:48 +00:00
apb 0b08bd10ac Allow rcorder-visualise.sh to accept an optional set of file names on
the command line.  By default it uses /etc/rc.d/*, as before.  Sample
usage: /usr/src/rcorder-visualise.sh /usr/src/etc/rc.d/*.
2009-08-09 17:08:53 +00:00
haad be00161e0a Add device-mapper driver which I forgot to add in haad-dm branch. 2009-08-09 14:32:07 +00:00
mbalmer 530dfee805 Add gpioiic, gpiosim, and gpioow. Requested by tron. 2009-08-09 14:18:46 +00:00
pgoyette f76adbfe10 Add sdtemp, too. 2009-08-09 14:17:56 +00:00
pgoyette 988f5cae7e Add dbcool - I'd have done it long ago, when the driver was added, but
didn't know about this file until now.
2009-08-09 14:12:22 +00:00
jakllsch 7df7a55a24 Add DNARD, AKA 'shark'. 2009-08-09 14:04:43 +00:00
martin 3eb37b127d Fix misplaced #endif, from Henning Petersen in PR port-sparc64/41856 2009-08-09 13:15:05 +00:00
haad 1511abfc1b Mention first round of zfs import. 2009-08-09 10:00:34 +00:00
skrll 364eb45f71 Fix vax.
Built by default options really should be tested better.
2009-08-09 09:22:16 +00:00
mbalmer cec6354bb5 Mention gpioiic(4). 2009-08-09 08:53:58 +00:00
wiz 38143816eb Sort sections. Fix typo. 2009-08-09 08:44:30 +00:00
mbalmer 5502bee520 Add the manual page for the gpioiic(4) driver. 2009-08-09 08:20:53 +00:00
mbalmer 8fc23e3158 gpioiic(4), a driver to do use GPIO pins in bit-banging mode to form an I2C
bus.  Ported from OpenBSD.
2009-08-09 08:18:00 +00:00
wiz 94dcecc31d Sort sections, remove superfluous .Pp, improve wording. 2009-08-09 07:40:46 +00:00
dholland f821ac304a Begin splitting lookup() into more tractable pieces too. 2009-08-09 07:27:54 +00:00
kiyohara 1c10f508e4 Support verdex and verdex-pro.
And
    + Support LCD controller.
    + Support SMSC LAN 9117 Ethernet controller.
    + Comment outed 'options GXIO_DEFAULT_EXPANSION'.  As for verdex-pro being
      sold now, this option becomes obstructive.
    + Remove some usb devices in GUMSTIX.
    + Update GUMSTIX.

Also
 Fix ARM ABI in gumstix_start.S.  Thanks Brett Slager <bds at ifgd.net>.
 Calculate RAM size in gumstix_start.S.
2009-08-09 07:10:13 +00:00
kiyohara 5bb9b7a6ef Support SMSC LAN9118 Family Ethernet interfaces device driver.
It tested on GUMSTIX only.
2009-08-09 06:40:09 +00:00
kiyohara b76e3b1e19 Remove GPIO configuration for board dependently. 2009-08-09 06:24:03 +00:00
kiyohara eb34e284af Fix matching by improper driver.
see http://mail-index.netbsd.org/port-arm/2009/07/08/msg000807.html

And remove some white-spaces.
2009-08-09 06:12:33 +00:00
matt e51839706f Use PGSHIFT + 1 instead hardcoding 13.
Don't set Page Mask to 0 when invalidating a TLB entry.
2009-08-09 05:36:22 +00:00
matt ead615cc2a s/struct device */device_t /g 2009-08-09 04:09:55 +00:00
matt 4d59439aa7 Change TLBMiss to use values based on NBPG and PGSHIFT instead of magic
numbers.
Use REG_S instead of sw in a few more places.  Use _MFCO as well.
2009-08-09 04:08:14 +00:00
matt 05f21e1df1 Add disabled code to set K0 CCA if CCA_SPECIAL is being used. 2009-08-09 04:06:35 +00:00
matt efe42514d3 If Loongson2 way size is <= page size, don't enable mips_virtual_alias 2009-08-09 04:05:03 +00:00
matt c9bc7bdfee Add latent ENABLE_MIPS_16KB_PAGE option. 2009-08-09 04:04:12 +00:00
matt cc15998b88 Beginning of large-page support. 2009-08-09 04:02:40 +00:00
matt 17fa6905db s/struct device */device_t /;g 2009-08-09 04:02:00 +00:00
dholland 40c09fbf2c Begin splitting up namei into smaller pieces. 2009-08-09 03:28:35 +00:00
christos 5fff5d2f6b make the _POSIX_VDISABLE definition match the one in termios.h 2009-08-08 22:53:16 +00:00
christos ff2fe63754 Create and use __CAST(type, value) in headers so that modern c++ with
-Wold-style-casts does not bitch.
2009-08-08 21:23:15 +00:00
matt 065a21e041 Add the RL2561 PCI 801.11b/g 2009-08-08 20:50:44 +00:00
matt 142b72f410 Add pci_attach_hook to configure the ralink device since PMON didn't. This
avoids the over kill of PCI_NETBSD_CONFIGURE.  And given the bounded nature
of the Gdium, it's not as if someone is going to add more devices.
2009-08-08 20:49:58 +00:00
matt c113c8b98f Don't hardcode the FB address. Read it from the PCI device.
Don't tell wasops to the clear the screen since we do it ourselves.
2009-08-08 20:48:33 +00:00
matt 4e26dd8d9d If we've had to enable MEM access, make sure our flags reflect that so that
pci_mapreg_map won't fail because it didn't know we did it.
2009-08-08 20:44:36 +00:00