Commit Graph

89215 Commits

Author SHA1 Message Date
dyoung
6f7649313f Constify. 2007-08-26 22:28:52 +00:00
jmmv
f871acd484 Enable tmpfs. 2007-08-26 21:19:01 +00:00
xtraeme
9d55226ba9 Set ENVSYS_FMONNOTSUPP in the last two missing sensors, forgot in previous. 2007-08-26 20:52:15 +00:00
xtraeme
a8995b3790 Only assing the monitoring flags once in acpibat_init_envsys() before
registering the driver.
2007-08-26 20:47:42 +00:00
martin
24201ba62f Allow 64bit memory BARs if we are compiling on 64bit archs. 2007-08-26 19:52:06 +00:00
xtraeme
268e268682 Move the ICH SMB defs to dev/ic/i82801lpcreg.h, it's where it belongs.
This is to avoid code duplication.
2007-08-26 18:39:43 +00:00
matt
8bddec6f98 Change CFATTACH_DECL, CFATTACH_DECL2, and CFDRIVER_DECL to use C99 structure
initializers.
2007-08-26 18:20:57 +00:00
matt
b5995b2a75 Change EVCNT_INITIALIZER to use C99 structure initializers. 2007-08-26 18:15:14 +00:00
xtraeme
434a9a86ff There's no need to add timecounter code inside of __HAVE_TIMECOUNTER
ifdefs.
2007-08-26 17:15:42 +00:00
xtraeme
8a8a9250de Modify ichlpcib description, it has timecounter support too. 2007-08-26 17:05:23 +00:00
xtraeme
27b6c30cfb Add ichlpcib commented out. 2007-08-26 17:03:13 +00:00
xtraeme
031bec6d2c Some changes for the ichlpcib driver:
- Moved to x86/pci, so that EM64T systems running NetBSD/amd64 can use it.
- Added support for the TCO on ICH6 or newer chipsets, adapted from
  FreeBSD.
- Added timecounter support for the power management timer, adapted from
  OpenBSD.
- Plus some misc/cosmetic changes.

Thanks to yukonbob on irc@freenode for testing the TCO part on ICH4-M.
Tested by me with ICH7 too.
2007-08-26 16:49:47 +00:00
macallan
e44cd7ace2 add some comments 2007-08-26 07:24:58 +00:00
macallan
7863a2faed cleanup, fix some typos 2007-08-26 07:24:28 +00:00
xtraeme
fc39e77a79 regen 2007-08-26 07:19:11 +00:00
xtraeme
401952b610 Add two ICH8 LPC Interface Bridges. 2007-08-26 07:18:53 +00:00
matt
cf57b7579b Move _ARM_ARCH_* from asm.h to cdefs.h so everyone can use them.
Add _END/END/ASEND which every port's asm.h should have.
Add GET_CPUFINO(rX).  Reserved for future use. :)
Use %foo instead of #foo
2007-08-26 04:02:39 +00:00
macallan
09a01aa602 add a driver for Fujitsu AG-10e graphics boards
Features so far:
- use the blitter for scrolling and solid fills
- the usual wscons stuff, virtual consoles etc.
Things missing:
- /dev/fb* support
- XFree86 support although wsfb in 8bit should work
- hardware cursor support for X
- character drawing in hardware so we can run the blitter completely
  asynchronous
2007-08-26 00:39:39 +00:00
macallan
740e56f356 register definitions and some drawing routines for Number Nine Imagine 128
graphics controllers
2007-08-26 00:34:34 +00:00
martin
782448944c Remove INITSTACK completely - at the time we used to switch to it, we
already have access to all of lwp0 and it's uarea - so we can switch
to the correct lwp0 stack easily before calling main.
2007-08-25 19:16:10 +00:00
martin
3f79b658b2 When exiting to OF, use the interrupt stack instead of INITSTACK 2007-08-25 15:52:41 +00:00
martin
9f1bca5c1d Rework cpu_mp_startup slightly:
- temporarily use the cpu's interrupt stack untill we are ready
   to access non-OF-based mappings, then directly switch to the cpu's
   idlelwp's uarea stack
 - disable interrupts untill we are ready to call C code
2007-08-25 15:50:24 +00:00
pooka
1cf445da3e Don't play rename & typecast games with kauth_cred_t, but rather
declare the type in rump.h only if necessary with the help of ifdef
magic.
2007-08-25 10:22:31 +00:00
tsutsui
6c35be946a Save/restore curlwp on calling ROM_GETC() and ROM_PUTC() functions,
which might break %s7 register.
2007-08-25 00:25:44 +00:00
ad
8b381466db The Atheros HAL on MIPS uses %s7 as a general purpose register, but the
rest of the kernel uses it to store the value of curlwp. Sam won't
recompile the HAL for us (fair enough), and we can't modify the HAL
to use another register because doing so could put us in breach of
the license (v. crappy). So, do a save/set/restore on %s7 in KernIntr()
and in the stubs that the HAL uses to call back into the kernel.
2007-08-24 23:52:10 +00:00
dyoung
e7e5e02759 Overhaul gre(4), especially the GRE in UDP bits:
* Create the kernel thread in gre_clone_create() instead of trying
  to create it in gre_ioctl().  (Thanks ad@ for suggesting it, and
  pointing out that I can't kthread_create while I hold a spin
  lock.)  Run the thread always, but put it to sleep while the
  gre(4) is not in UDP mode.

* Use sockaddr_in_init().

* Move some thread state off of the stack and into the softc.

* Extract subroutines gre_do_recv(), gre_do_send(), and gre_reconf()
  from gre_thread1(), making the code more readable.
2007-08-24 23:38:31 +00:00
macallan
a3b32b42df use bool with prop_dictionary_get_bool() 2007-08-24 19:12:21 +00:00
nonaka
be0c6c02e3 url(4) require urlphy(4). 2007-08-24 13:34:58 +00:00
kiyohara
23c4e6ee8e Add some devices for Bluetooth, CardBus, PCMCIA, USB.
Remove white-spaces.
2007-08-24 03:21:09 +00:00
kiyohara
ae871a0c2d The variable slhci_usbdebug is defined in '#ifdef SLHCI_DEBUG' and
'#ifdef USB_DEBUG'.
  Reported by Bernd Ernesti <netbsd@lists.veego.de>
2007-08-24 01:49:08 +00:00
pooka
8b0f2e2191 Support nfs exporting file systems. 2007-08-23 14:37:40 +00:00
pooka
05eae67bb1 Add a third type of fh option, passthrough, where the kernel does
not attempt to handle struct fid at all and passes it as such to
userspace.
2007-08-23 14:36:46 +00:00
tnn
ca5c2e9bf5 apm emulation needs envsys. From Jukka Salmi on the current-users list. 2007-08-23 10:04:07 +00:00
pooka
e6d6dce9bf Mimic namei structure changes for puffs. bump both kernel & lib version. 2007-08-22 17:54:30 +00:00
pooka
dc6f853934 struct nameidata/componentname size changes
Welcome to 4.99.30, we wish you a pleasant stay.
2007-08-22 17:52:16 +00:00
pooka
a42494ad5f regen:
Modernize struct nameidata types: long -> int32 or size_t,
depending on the case.
2007-08-22 17:50:26 +00:00
pooka
ac90038baa Modernize struct nameidata types: long -> int32 or size_t,
depending on the case.
2007-08-22 17:49:40 +00:00
pooka
f72c9916f2 regen - update PARAMASK to match reality 2007-08-22 15:39:32 +00:00
pooka
07b20d8dff update PARAMASK to match reality 2007-08-22 15:38:46 +00:00
tsutsui
8570a29bb0 Don't print error messages on stray interrupts since
it could happen after cnputc().
2007-08-22 12:45:41 +00:00
tsutsui
c445dff46f Add (commented out) options RAID_AUTOCONFIG. 2007-08-22 12:43:00 +00:00
bouyer
bd627359dd Improved SATA support, from Jonathan A. Kollasch in PR bin/36772:
* use full 5-bit command queue depth that SATA supports
* decode SATA bits
2007-08-21 16:53:18 +00:00
pooka
faafe7834a Implement credentials. Access control is now similar to if the file
system were run in the kernel.
2007-08-21 13:57:17 +00:00
kiyohara
d56611e9ca Replace white-space to Tab. 2007-08-21 12:43:33 +00:00
kiyohara
c4ab942136 Add gxiic and iic. However not test yet because I don't have I2C-LSI and
can't connect it.
2007-08-21 12:36:18 +00:00
kiyohara
2d6e84fcd5 Add option GXIO_DEFAULT_EXPANSION. This option is default 'netCF'.
Remove white-spaces.
2007-08-21 12:26:17 +00:00
kiyohara
457cf3f266 Oops.
I mistook commit.  sdmmc(4) is not commit yet.  And I don't have this.
2007-08-21 12:09:21 +00:00
kiyohara
a3adea9301 * Configure the GPIO to GXIO_DEFAULT_EXPANSION, if not specified 'busheader='
in boot args.
* Support NONAKA's <nonaka@netbsd.org> sdmmc.
* Add expansion target 'basix'.  This is to configure GPIO to PXA MCI.
    However, CardDetect is not connected as for mci of gumxtix. Therefore, it
    is not possible to Insert/Remove.
* Remove white-spaces.
* Change format in comments.
2007-08-21 12:01:55 +00:00
kiyohara
f1bbc2447a The initarm() should initialize GPIO. We must not initialize GPIO in
foo_attach() of the each drivers.  And, it is necessary to confirm whether
to be initialized in foo_match().  To avoid a dangerous configuring on the
evaluation boards.
2007-08-21 11:39:11 +00:00
hannken
5657bcacb9 Modify ffs_lock() to take care for changed v_vnlock. Snapshots do not need
transferlockers() anymore.

From FreeBSD ffs_vnops.c Rev. 1.159

Reviewed by: YAMAMOTO Takashi <yamt@netbsd.org>
2007-08-21 09:27:33 +00:00