Commit Graph

183559 Commits

Author SHA1 Message Date
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
dsl
2abdfb3907 Now we have our own radix_sort() change the interface so that we pass
an array of 'RECHEADER *' and remove all the crappy stuff that backed up
by REC_DATA_OFFSET (etc).
Also change radix_sort() to return the number of elements, soon to be used
to drop duplicate keys (for sort -u).
2009-09-05 12:00:25 +00:00
wiz
ed449c067d New sentence, new line. 2009-09-05 11:37:52 +00:00
wiz
2f1a87b0ee Various fixes; be more kind to mdoclint. 2009-09-05 11:32:36 +00:00
pooka
6694ae0257 zalloc new rumpfs nodes to make sure rn_vp is initially NULL.
Fixes problem pointed out by Nicolas Joly in private email.
2009-09-05 11:02:49 +00:00
taca
91660997c8 Correct files' suffix of the previous commit. 2009-09-05 10:16:46 +00:00
taca
c12a22f6c5 Need entries for cat9 and html9 directorys. 2009-09-05 09:47:14 +00:00
dsl
4611f32c1c Include a local copy of the sradixsort() code from libc.
Currently unchanged apart from the deletion of the 'unstable' version and
other unneeded code.
Use fldtab[0]. not fldtab-> when we are referring to the global info
in the 0th entry to emphasise that this entry is different.
fldtab[0].weights is only needed in the SINGL_FLD case - so set it there.
Re-indent a big 'if' is setfield() so that the line breaks match the
logic - which looks dubious now!
2009-09-05 09:16:18 +00:00
apb
d0e6aa56a4 The man page should be BOOT_FLAG.9, not BOOT_FLAGS.9.
I am not marking the incorrect name as "obsolete" in the set lists
because it's been less than 12 hours.  If you have already installed the
incorrectly named file, you will have to delete it manually.
2009-09-05 08:55:40 +00:00
dsl
602976fff6 Ansify functions and remove __P/ 2009-09-05 08:53:06 +00:00