Commit Graph

183568 Commits

Author SHA1 Message Date
jnemeth d57c8fa8c6 Add a modules operation to build.sh, which builds and installs kernel modules
into DESTDIR.

This is based on the patch provided by tsutsui@ on tech-toolchain@.
2009-09-07 04:14:17 +00:00
jnemeth d539a2c691 Install the new modules.tgz set. 2009-09-07 02:31:53 +00:00
jnemeth fbeb8d3295 Create a modules.tgz set and move kernel modules into it. 2009-09-07 02:27:27 +00:00
jmcneill 5ec034e0c9 Add missing colour White (Eh) to hdaudio_afg_color[] table. 2009-09-07 02:04:43 +00:00
rmind 34c783b631 uvmspace_unshare: #if 0-out this function. Q: perhaps remove?
AFAIK it was not used for 11 years.
2009-09-06 23:14:19 +00:00
rmind aaea45533d Replace GCC attributes with __packed. 2009-09-06 21:38:17 +00:00
pooka f59c73ba56 Build & install rump_smbfs 2009-09-06 21:03:27 +00:00
pooka 4b28bbe377 Run rump_dev_init() where available. 2009-09-06 20:54:19 +00:00
pooka 129104a3ac Rename rump_dev_makenodes() to rump_vfs_makedevnodes() -- while it
will most likely be used devices, the implementation requires
services provided by vfs (mkdir, mknod).
2009-09-06 20:42:25 +00:00
pooka b0d965c6f5 Add rump_smbfs. It's innards are different from most file systems
in two respects:
    * in addition to vfs (and networking), it depends on kernel
      device code to provide /dev/nsmb
    * mounting involves having lengthy chats with the kernel smb
      device instead of the typical "parse args and mount(2) away".

Seems to be pretty stable, at least data seems to flow over it
faster than over in-kernel nfs.
2009-09-06 20:26:47 +00:00
wiz 5705f52697 Add -C support. Document it.
Ok joerg

Improve -t output a bit (still different from Infozip unzip, but better).
2009-09-06 20:19:59 +00:00
pooka 7fa79282e3 kill #ifndef __NetBSD code (yea, I assume it meant __NetBSD__) 2009-09-06 20:07:03 +00:00
pooka cec76b1282 add a very simple version of pollsock()
XXX: it seems to exist purely for the pleasure of netsmb??
2009-09-06 20:02:49 +00:00
jym 1390556a02 Fix typo. 2009-09-06 19:46:24 +00:00
pooka 880deff995 move hppa cpp kludge to the end of the file 2009-09-06 19:14:54 +00:00
pooka d7e67263d0 build smb_kernelops 2009-09-06 18:39:04 +00:00
pooka f9d2118130 Implement smbfs kernel operations (ioctl etc.) through a vector of
function pointers instead of direct linkage so that rump syscalls
are possible.
2009-09-06 18:38:17 +00:00
mhitch 66b730fd58 There's now some per-cpu initialization that occurs before the secondary
cpus are told to begin running.  Since the seconedary cpus weren't being
added to the cpu_info list until then, that initialization wasn't being
done and resulted in crashes on the secondary cpus.  Add the secondary
cpus to the cpu_info_list after they've been started (but waiting to be
told to start running).  This fixes the problem specifically stated in
PR port-alpha/41106.  MP alphas will now at least boot and begin running,
but will eventually crash in various ways later.
2009-09-06 18:06:24 +00:00
wiz 0192905bb1 Whitespace cleanup, sort sections, fix list. 2009-09-06 17:59:09 +00:00
sborrill 7f280b4483 *blush*
Spell my own company name correctly.
2009-09-06 17:33:53 +00:00
sborrill b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
pooka 6ad3a66ac7 Don't use select() to wait for a single socket, just set SO_RECVTIMEO. 2009-09-06 17:02:36 +00:00
pooka f926eb58c3 Remove autoconf dependency on vfs and dk:
opendisk() -> kern/subr_disk_open.c
config_handle_wedges -> dev/dkwedge/dk.c
2009-09-06 16:18:55 +00:00
sborrill d7f624cfd8 Regen 2009-09-06 15:31:04 +00:00
tsutsui a41b2e5136 Replace shutdownhook_establish(9) with pmf_device_register1(9).
Tested VIA VT86C100A (which is probed as VT3043).
2009-09-06 14:10:42 +00:00
tsutsui 725f9b12ad Replace shutdownhook_establish(9) with pmf_device_register1(9).
Tested Am79c973 PCnet-FAST III.
2009-09-06 13:39:56 +00:00
christos e5882afd65 too many dots. noted by anon-ymous 2009-09-06 13:38:50 +00:00
apb 7259650e89 Delete a line that was accidentally included from work in progress. 2009-09-06 12:30:45 +00:00
macallan e847e7a709 mention sunleo 2009-09-05 22:40:33 +00:00
macallan b1e03052c7 add files for the sunleo driver 2009-09-05 22:38:45 +00:00
macallan 0757b51d96 build the sunleo driver on sparc and sparc64 2009-09-05 22:35:53 +00:00
pooka 630289bcad Include Makefile.inc earlier to make dot.nsmbrc install properly.
Pointed out by gson.
2009-09-05 18:37:51 +00:00
bsh 742947bc03 correct the initial value of interrupt masks. 0 is to disable.
This fixes stray interrupt from LCD controller when lcd driver is not configured in the kernel.
2009-09-05 17:40:35 +00:00
apb cd291484dc Change multiple spaces to tabs on one line 2009-09-05 16:45:33 +00:00
apb 89432e7545 * Use functions from rc.subr, and indent the code.
* Add "KEYWORD: nostart", so /etc/rc doesn't try to run this (it would
  have been harmless anyway).
2009-09-05 16:26:07 +00:00
apb 660b31de3a Use functions from rc.subr. 2009-09-05 16:24:03 +00:00
apb ed9a80fd00 Sort bzero to the correct position 2009-09-05 16:13:21 +00:00
tsutsui edeaa5dd16 Invert logic around nested pmf(9) registrations for readability. 2009-09-05 14:44:59 +00:00
tsutsui 41f548bed9 Invert logic around nested pmf(9) registrations for readability. 2009-09-05 14:19:30 +00:00
tsutsui 9444aeea7a Invert logic around nested pmf(9) registrations for readability.
XXX: should these pmf(9) calls be moved into MI attach functions
XXX: using function pointers for suspend and resume passed via softc?
2009-09-05 14:13:50 +00:00
tsutsui 64cbab9fdb Invert logic around nested pmf(9) registrations for readability. 2009-09-05 14:09:55 +00:00
tsutsui a232c54de6 Replace shutdownhook_establish(9) with pmf_device_register1(9).
Tested Compaq Netelligent 10/100 TX.
2009-09-05 13:50:15 +00:00
tsutsui ac9c3b9cb0 Use device_t self arg to get a device name rather than through &ahd->sc_dev
which needs to be changed on future device_t/softc split.
2009-09-05 12:59:24 +00:00
tsutsui 4695cf33e5 Wrap long lines. 2009-09-05 12:55:05 +00:00
tsutsui 15ecebfdb2 Make ahd_detach() take struct ahd_softc * rather than device_t
as well as ahd_attach().  (currently no backend calls it though)
2009-09-05 12:50:53 +00:00
apb ecf07e7982 It's expected that config will be NULL in a cvs client, but not
in a server or with a local CVSROOT.
2009-09-05 12:50:33 +00:00
tsutsui 7edc9e3e17 Use device_private() to get softc. 2009-09-05 12:46:55 +00:00
tsutsui d283274ba9 - use local ahd_name() to print device name
- pass proper device_t types to config(9) functions
2009-09-05 12:43:56 +00:00
tsutsui 1f74bbf3de Remove unnecessary casts against void pointers. 2009-09-05 12:39:25 +00:00
tsutsui aa60aebf13 Replace shutdownhook_establish(9) with pmf_device_register1(9) in
MI epconfig() and ep_detach(), and remove pmf(9) calls in pcmcia attachment.
Tested on ep0 at pci, but pcmcia attachment is untested.
2009-09-05 12:30:59 +00:00