Commit Graph

62985 Commits

Author SHA1 Message Date
tsutsui 361715b6e1 Sync with news68k/disksubr.c rev 1.11-1.13:
- Fix -Wsign-compare warnings.
- Drop trailing white space.
- Since current sdstrategy() calls bounds_check_with_label() implicitly,
  allow overwriting disklabel for RAW_PART in bounds_check_with_label().
- Also allow overwriting disklabel even for !RAW_PART if securelevel == 0
  so that installboot(8) can write bootblock against 'a' partition.
- labelsector is at top of RAW_PART, not 'a' partition.
2003-03-30 08:42:00 +00:00
tsutsui 3917373a21 - Since current sdstrategy() calls bounds_check_with_label() implicitly,
allow overwriting disklabel for RAW_PART in bounds_check_with_label().
- Also allow overwriting disklabel even for !RAW_PART if securelevel == 0
  so that installboot(8) can write bootblock against 'a' partition.
- labelsector is at top of RAW_PART, not 'a' partition.
2003-03-30 08:37:16 +00:00
tsutsui b1b52ec626 Use 32bit daddr_t. 2003-03-30 08:01:13 +00:00
isaki 5f88fc57fa Make it compilable.
see http://mail-index.netbsd.org/source-changes/2003/03/26/0009.html
2003-03-30 07:58:03 +00:00
toshii ba612a905f Use MaxPacketSize for setting up isochronous pipe for recording.
This fixes dropping samples.
2003-03-30 04:47:13 +00:00
matt 374319260c Don't free chqueue since it's no longer malloc'ed. 2003-03-30 02:06:29 +00:00
kristerw 820df2464a Remove unneeded cast that prevents PC_REGS from being used as lvalue. 2003-03-30 02:03:12 +00:00
kristerw c3b2957983 #include "opt_kgdb.h" 2003-03-30 01:20:13 +00:00
provos cb0252af40 avoid a panic due to recent changes in kern_fork.c; prepare for lwp by
keeping messages independent of the process itself
2003-03-30 00:40:05 +00:00
thorpej 7f9b4b1a1c Add some braces to make a block of code a bit easier to read. 2003-03-30 00:28:19 +00:00
kristerw 6a6ff92fd5 Revert last change (dependance on divdi3.c, moddi3.c, and qdivrem.c) and
use 32bit daddr_t instead, as suggested by Izumi Tsutsui.
2003-03-30 00:17:28 +00:00
wiz 0acfa3bb9e Consistently spell occurrence with two rs. 2003-03-29 22:48:37 +00:00
thorpej 7a3fa51b7f Garbage-collect the DYNAMIC_CRC_TABLE stuff. The table it computed
was incompatible with the new CRC code, and it is largely unnecessary
now, since the static table is so much smaller.

Fixes PR kern/20935.
2003-03-29 22:25:25 +00:00
scw ec17fb4b99 Fix bus_space_read_region_N() to work as advertised. 2003-03-29 22:07:14 +00:00
jdolecek 32657d0d79 remove incorrect DEBUG check of recursive lock in smb_co_lock() - the check
incorrectly bombed when the exclusive lock was help by different process
(*yuck*)

lockmgr() checks for 'locking against myself' type of locking problems itself,
so no need to do any additional checks
2003-03-29 21:42:44 +00:00
jdc 6df227f447 Regenerate.
(Add support for USRobotics Wireless Access PCI adapter (model 132415).)
2003-03-29 20:56:54 +00:00
jdc 8e265123d8 Add support for USRobotics Wireless Access PCI adapter (model 132415).
From Sergio Jimenez in PR kern/20642.
2003-03-29 20:49:03 +00:00
matt 6c8a4d2615 Make this compile again. 2003-03-29 20:15:31 +00:00
matt 6a15c68f5d Make sure to turn on the speed knobs in HID0 on the 745x. 2003-03-29 18:18:54 +00:00
matt 2c37db6aec Allow oea_batinit to be called with either the MMU on or off.
(don't reset the BATs if the MMU is off).
2003-03-29 18:09:59 +00:00
matt b3715c2f6a Add 7450 LRSTK and FOLD bits. 2003-03-29 18:08:42 +00:00
perry 3942053914 regen 2003-03-29 16:48:02 +00:00
perry c0eb24419a support Corega PCCL-11 -- from Christopher SEKIYA in PR 20932 2003-03-29 16:47:27 +00:00
he f8cb6d60a7 Allow this file to be included if either of audio, midi or midibus
is non-zero (earlier only allowed it if audio was non-zero).  Fixes
build problem seen on the prep port.
2003-03-29 13:57:43 +00:00
manu fd94bf9486 First work on notifications. Not really working for now. 2003-03-29 11:04:08 +00:00
bsh 347085b57d put options XSCALE_CACHE_WRITE_THROUGH into opt_cpuoptions.h.
add XSCALE_CACHE_WRITE_BACK.
2003-03-29 07:59:41 +00:00
bsh 105db01dcd for Intel PXA2[15][05] processors, select write-back/write-through
cache based on CPU id.  write-through on PXA2[15]0 B2 stepping and
earlier. write-back on C0 and C1 stepping (a.k.a PXA2[15]5 A0)

options XSCALE_CACHE_WRITE_{THROUGH,BACK} can override it.

for other XScale CPUs than PXA2xx, XSCALE_CACHE_WRITE_THROUGH works
same as before.
2003-03-29 07:58:16 +00:00
dyoung 243f751604 Support so-called "PLX" bridge for wi(4). From FreeBSD via Simon
Burge. Simon writes,

"Here's the patch that Grant and I have been using on a combinations of
architectures and both NetBSD 1.6 and -current.

"This is based on FreeBSD - look for
        /* We have to do a magic PLX poke to enable interrupts */
in
        http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/wi/if_wi_pci.c
2003-03-29 03:25:22 +00:00
fvdl 691b2fa7db The checkpoint loop always used (multiples of) lfs_sepb as the number
of segments to mark. However, this may be much more than lfs_nseg.

Originally this wasn't a big problem, since only the structures in the
diskblock were changed, but nowadays there's a mirror of the segflags
in the in-core superblock. This problem caused the code to walk
way past the end of that allocated area, causing memory corruption
in other kernel structures. So, use lfs_nseg as the maximum, as it should be.

While here, simplify the loop; it had become an obfuscated piece of
code overtime.
2003-03-28 22:39:42 +00:00
he 8cd91d8236 Commit a workaround for PR toolchain/20924, so that this compiles again.
When/if the PR is fixed, this change should probably be reverted.
2003-03-28 20:25:40 +00:00
he b218b0c7c5 Compensate for the change of type for io_netif by adding a cast so
that this compiles again.
2003-03-28 18:16:59 +00:00
yamt 9fe1125599 reply FSINFO rtmax and wtmax for DGRAM properly. 2003-03-28 15:24:58 +00:00
yamt b44d2a5667 i forgot to check this in with the previous (reply ENAMETOOLONG properly). 2003-03-28 15:13:35 +00:00
he cb89d3a368 Initialize the two new members of consdev (cn_halt, cn_flush) to NULL so
that this compiles again.
2003-03-28 14:10:56 +00:00
perry 935d1a04e3 Fix PR/20903 for real.
Identical patches supplied by:
Masuda Hideo <h-masuda@ootani.nagata.kobe.jp>
Christopher SEKIYA <wileyc@rezrov.net>
2003-03-28 13:58:40 +00:00
yamt 2d45e41adb reply ENAMETOOLONG properly instead of discarding request as BADRPC.
my own PR20791.
2003-03-28 13:05:47 +00:00
yamt 8a890efe2b if rsize was explicitly specified by mount_nfs,
prefer it to rtpref from nfsd.  the same for wsize and wtpref.

ok'ed by fvdl.
2003-03-28 12:33:17 +00:00
he 85b87f244e Initialize the new members of consdev (cn_halt, cn_flush) to NULL so
that this compiles again.
2003-03-28 10:45:40 +00:00
scw ea960960c0 We need to preserve SSR/SPC when switching ASIDs as we could be called
while handling a TLB miss (via the pmap_pte_spill() function), in which
case SSR/SPC are live.
2003-03-28 09:48:07 +00:00
perseant 3f7016035a Add a sleeper count, to prevent the cleaner from panicing the kernel
when the filesystem is unmounted, relocking the Ifile when its lock is
draining.  (We can't use vfs_busy() since the process is sleeping for a
good long time.)  Clean up / organize lfs.h, while I'm here.

In lfs_update_single, assert that disk addresses are either negative, or
are still positive when converted to int32_t, to prevent recurrence of a
negative/positive block problem.
2003-03-28 08:03:38 +00:00
he fd386b5a4d Initialize new members (cn_halt and cn_flush) in consdev to NULL to
allow this to compile again.
2003-03-28 07:10:35 +00:00
scw 7fdeb41460 Fix for previous: frob SR, not SSR. 2003-03-27 20:21:27 +00:00
perry 964bf1e7f5 ifdef out something dependent on PCI_VENDOR_COREGA for now. 2003-03-27 20:09:07 +00:00
jdolecek 7337bd06a3 nfs_kqfilter(): add the knote to v_klist only if guaranteed to return success 2003-03-27 19:58:26 +00:00
mycroft 15e5d9ec58 Add a couple of byte-wide variants that weren't implemented -- I guess because
nobody else has a byte-accessible bus.
2003-03-27 19:46:14 +00:00
mycroft 49f94a02b4 Remove references to variables that aren't used here. 2003-03-27 19:42:30 +00:00
drochner b6a21881e2 allow loading the bootloader via MOP 2003-03-27 19:40:42 +00:00
drochner ba0f309a91 Before checking the (Intel specific) SCR_T4 register, make
sure the chip implements 100T4 (in BMSR).
The 82562 (which doesn't implement 100T4) has the SCR_T4 bit
(always?) set, which led to wrong media status reports.
approved by thorpej
2003-03-27 19:36:49 +00:00
jdolecek 5fe02453b5 put back nmaxproc check mistakely changed in rev.1.132
checking against nprocs is wrong in any case btw - we do allow
maxproc higher than number of current processes, it would just mean
no new process could be started until number of processes would
be lower than the new limit
2003-03-27 18:34:18 +00:00
christos e950c1ac8f PR/20844: Iain Hibbert: PPP Compressors cannot be loaded as LKM 2003-03-27 17:50:06 +00:00
jdolecek 479a3334a4 sys_setreuid(): parenthesize the ruid check in ?: condition, so that
it would be more difficult to mistake == for = when reading it
2003-03-27 17:47:45 +00:00
scw 00c69643a2 Make sure the FPU is enabled if we're about to drop to ddb due to
some catastrophic problem.
2003-03-27 17:29:17 +00:00
mycroft 6b44caa63e Doh, fix a pasto -- the ldr/str mask had a bad bit set. 2003-03-27 16:58:36 +00:00
mycroft a589baf905 Fix multiple problems with ldrh/strh/ldrsb/ldrsh disassembly:
* The offset format was wrong.
* There is no post-increment or index register update.
* It wasn't even matching because the mask was wrong.
Also touch up ldr/str disassembly slightly.
2003-03-27 16:42:40 +00:00
he 9f8115667b Adapt to changed signature for ioctl routine (caddr_t -> void*). 2003-03-27 15:54:02 +00:00
yamt 77312f97f8 read-only configuration support. 2003-03-27 15:34:36 +00:00
perry 3086473c25 Tell driver to accept the Corega CGWLPCIA11.
Submitted by h-masuda@ootani.nagata.kobe.jp in PR #20903
2003-03-27 14:43:30 +00:00
drochner 8b0843a5b2 There is no point in initializing "rootpath" to "/".
Move it into BSS.
2003-03-27 12:28:58 +00:00
ichiro cb6506defc regen 2003-03-27 12:20:07 +00:00
ichiro 26d61dcb91 add product TOSHIBA PA2673U CBIDE2 (IODATA OEM) 2003-03-27 12:19:44 +00:00
jdolecek d6eaa60e05 parenthesize NB_ENCNAMELEN value 2003-03-27 11:22:29 +00:00
dyoung bfdccc21aa 802.11 MLME-JOIN.request is an abstract MAC function that is not
necessarily exposed to the host, so Lucent/Agere/whatever is correct
in not supporting it.
2003-03-27 07:22:47 +00:00
matt 8909c240f2 Add GT_PCI{0,1}_{IO,MEM}{SIZE,START} options 2003-03-27 07:21:30 +00:00
matt caff52554f Only print IRQ is it's not the default value. 2003-03-27 07:20:48 +00:00
matt 2cf5fc0ece Add options to allow overriding of PCI0 & PCI1 MEM and I/O start and sizes. 2003-03-27 07:19:11 +00:00
dyoung 016e6c270f HostAP broke in version 1.4.2 of station firmware. Try 1.3.x, 1.4.9,
or later.
2003-03-27 05:00:21 +00:00
dyoung 913d1b877a Cosmetic: move sc_reset closer to its siblings sc_disable and sc_enable. 2003-03-27 04:53:52 +00:00
dyoung 404d2ac6e8 Introduced sc_reset to wi_softc. The bus-specific front-end gets
to fill this.
2003-03-27 04:34:16 +00:00
simonb d38e1fa853 Use "rxintr" for the name of the receive interrupts evcnt instead
of "txintr".  Much less confusing that way...
2003-03-27 01:21:52 +00:00
jdolecek 0be1da3379 switch to LIST_FOREACH() in selrecord() 2003-03-26 17:50:16 +00:00
mycroft 0c23a8613a Fix multiple bugs in the way we do the v4 MMU disable -- it was blasting way
too many bits (including some reserved ones) and was writing the wrong value
for the TLB flush.
Also, if the flag is off, don't write the control register!
2003-03-26 17:36:56 +00:00
scw e6b13790fa SH5 needs __HAVE_FUNCTION_DESCRIPTORS defined in order for ld.elf_so
to resolve SHmedia function pointers correctly.
2003-03-26 14:46:32 +00:00
scw eefd7219fd Sign-extend the return value, as required by the ABI.
While I'm here, simplify the asm operands/constraints.
2003-03-26 12:00:41 +00:00
thorpej eb7195a019 Gzboot support for the ADI BRH eval board. This flash address allows
the kernel to be decompressed and started at board reset if the BRH's
rotary switch is set to position 5.
2003-03-25 23:38:00 +00:00
thorpej 0a6cf80b25 Standalone board support routines for the ADI BRH. 2003-03-25 23:34:26 +00:00
thorpej 78c15d17f8 Memory routines for boards using the ADI BECC companion chip. 2003-03-25 23:33:49 +00:00
thorpej 9c484bd88d Allow the frequency to be set by the Makefile. 2003-03-25 23:32:41 +00:00
mycroft d8c7d22134 *** empty log message *** 2003-03-25 22:52:48 +00:00
mycroft 8320edced9 Remove a whole bunch of crap -- including the entirely adler32 stuff that's
only used in gzip headers/footers -- that's not actually used here.  Also use
a smaller CRC table.  Saves >4k of code in boot images.
2003-03-25 22:48:43 +00:00
mycroft c6052ec21f const! const! 2003-03-25 22:35:36 +00:00
thorpej ecb44c329e Add PCI VPD access routines. From psi.cz!freza, PR kern/20889. 2003-03-25 21:56:20 +00:00
thorpej 0abb67bb3b Bump copyright date for last. 2003-03-25 19:47:30 +00:00
thorpej 891be168b5 Add support for attaching on-chip peripherals to the BECC using
indirect configuration (because the BECC is a soft-core, it could
have a variety of peripherals in the FPGA).  Also add support for
local untranslated DMA.
2003-03-25 19:45:52 +00:00
jmmv 68fc25182e Implement the beep on halt feature. When enabled, it makes the kernel beep
the computer speaker when it's completely safe to power down the machine
(after the "The operating system has halted." message).  This is useful for
headless machines.

The feature is only enabled if the BEEP_ONHALT option is defined (disabled      by default).  It can be tuned through the BEEP_ONHALT_{COUNT,PERIOD,PITCH}      options.

Closes my own PR kern/18792.
2003-03-25 19:37:12 +00:00
tsubai 2a1daaf4ea Regen. 2003-03-25 18:30:14 +00:00
tsubai f95ee615c8 Add new Apple devices. 2003-03-25 18:28:15 +00:00
bouyer 013798abf2 Make promiscous mode work on vlans: introduce a new link-layer m_flag
M_PROMISC. In ether_input(), flag packets comming from an interface in
promiscous mode which are not for us M_PROMISC instead of droping them.
Drop M_PROMISC packets which are not passed to vlan_input(). M_PROMISC
packets passed to vlan_input() will be looped back to ether_input()
the M_PROMISC flag will be handled appropriately.
Clear M_PROMISC before giving the packet to bridge, as bridge has its own
checks for local MAC addresses.
This also makes bridges on vlan working.
2003-03-25 13:29:39 +00:00
pk a63321f624 pmap_kprotect: use supervisor permissions; don't bother checking for `no
change' case, it's not worth the effort.
2003-03-25 11:33:46 +00:00
chris 42d1c259a4 duplicate the changes from arm/arm32/stubs.c's dumpsys to remove pmap_map
usage.
Seems this file should really be split into the hpcarm specific bits
so it shares stubs.c with the other arm32 ports.

Pointed out by Håvard
2003-03-25 10:41:39 +00:00
igy 9e3ba8326d Add __KERNEL_RCSID tags 2003-03-25 06:53:15 +00:00
mjacob 183d384362 Fix even stupider fix. It was, in fact, right the first time. Add
a comment clarifying things.
2003-03-25 06:25:35 +00:00
igy 4691b478a0 Add __KERNEL_RCSID tags 2003-03-25 06:12:46 +00:00
fvdl 3658055d88 Resurrect the REALBASEMEM and REALEXTMEM option for this port; they're
sometimes useful.
2003-03-25 00:09:27 +00:00
matt 0e5392f73f Make reset delay depend on the baud rate. 2003-03-24 20:03:23 +00:00
jdolecek 78b50cb215 Receive packets in a small pieces (NB_SORECEIVE_CHUNK), so TCP slowstart will
get its ACKs faster.
From Darwin via FreeBSD.

XXX I don't have any idea if this is useful or reasonable, but it looks
XXX sane and the code works. "Remove if found nonuseful."
2003-03-24 18:08:51 +00:00
matt 1ebbd9b463 Make PCI interrupts -> GPP mapping configured via config file.
Add bus_spaces for all possile obios.  Add gt_halt to make
sure the discovery is not doing dma as soon as possible.
Read the SDRAM register to figure out how much physical RAM
is available.
2003-03-24 17:07:15 +00:00
matt bd800e6684 Fix tyops. Add 2 defines. 2003-03-24 17:03:18 +00:00
matt a69a0868cc Make gtmpsc configurable via config file. (baud rate source, frequency). 2003-03-24 17:02:14 +00:00
matt a09a7e1927 Update bpf interface to current. Make output buffers aligned to a
cacheline bounary.  Only put hash table and descriptors in uncached
memory, buffers are in cached memory.
2003-03-24 17:00:54 +00:00
jdolecek 7ba3ded040 fix connecting to (samba) server when share-level security is in effect
(do not send second password at all)
from FreeBSD
2003-03-24 15:07:52 +00:00
jdolecek 01f94cf255 Implement support for mixed case passwords.
From Darwin via FreeBSD.

This will have some effect once the NetBSD iconv routines would
actually do something.
2003-03-24 15:03:58 +00:00
pk 3592333cbb #include <sys/lock.h> 2003-03-24 14:46:00 +00:00
scw 955a468334 Add PIC support. 2003-03-24 14:26:16 +00:00
scw 2e5c2cd2ae Define just one mcount for both 32 and 64-bit ABIs; there's really no
advantage in having two slightly different versions.
Also save/restore FP register parameters.
2003-03-24 14:24:38 +00:00
jdolecek b55818f692 Use 'large' (64bit) readx and writex functions if server supports them.
This makes it possible to use files >4G.
From Darwin via FreeBSD, but changed so that smb_{read|write}() directly
calls appropriate i/o variant, and replaced md_get_uint16le() with
md_get_uint16() for target == NULL cases.

Replace some size_t's by int's.
2003-03-24 14:24:14 +00:00
scw 28db85d8f6 Relax the initial user stack alignment from 16 to 8 bytes.
Add a workaround for what appears to be a bug in binutils whereby
the entry point of an SHmedia binary can sometimes specify
SHcompact code (LSB is clear).
2003-03-24 14:21:27 +00:00
jdolecek fbfa48d0a9 make smb_smb_read() and smb_smb_write() return EFBIG if offset is
at or beyond 4G - this interface supports 32bit offset only
2003-03-24 14:11:32 +00:00
jdolecek 6056ed86d2 smbfs_writevnode(): print offset as %lld in debug message, and
also print error returned from smb_write()
minor whitespace change in #ifdef notyet code
2003-03-24 13:52:59 +00:00
jdolecek 8ed4fb0379 smbfs_getattr(): make 'oldsize' 64bit, it's used to hold file size
this is necessary for I/O to offset > 4G to actually be written
at proper place, rather than trimming offset to 32bit value
2003-03-24 13:50:10 +00:00
jdolecek 702d1ac1b2 adjust some debug messages 2003-03-24 13:30:44 +00:00
nakayama f73433c6f6 Divide `set' instruction in delay slot (from OpenBSD change to rev 1.30). 2003-03-24 13:27:44 +00:00
tron ea710d8119 Don't print a kernel message like "bge0: gigabit link up" when a Gigabit
link is detected. No other ethernet driver does this and this driver
doesn't do it for other modes.
2003-03-24 12:06:05 +00:00
jdolecek de3ee118b5 map ERRDOS/ERRnotlocked to EBUSY 2003-03-24 10:05:43 +00:00
jdolecek 6e843721e9 don't access (u_int32_t *) as (u_int16_t *), this fails on BE machines -
use temporary variable to fetch the 16bit value instead
remove some redundant temporaries, use NULL for those md_get_*() calls instead
make sv_sm 16bit - it is 16bit in later SMB dialects
2003-03-24 09:17:52 +00:00
drochner 4b3ca2b813 Remove an aprint_normal() so that the output looks reasonable
at least in the non-error case.
(The aprint_* stuff makes it hard to keep track of newlines and
device name tags, and it suffers from lack of rules.)
2003-03-24 09:12:55 +00:00
jdolecek 6d65835e70 one more rename - ERRbaddevice -> ERRnoipc 2003-03-24 08:56:21 +00:00
jdolecek 2b08f4a53d fix some typos. from FreeBSD 2003-03-24 08:42:31 +00:00
jdolecek 3c34ce99af Add more constants for future use in kernel and userland.
From Darwin via FreeBSD smb.h rev. 1.6

This renames some constants added in NetBSD smb.h rev 1.6 - smb_subr.c
adjusted
2003-03-24 08:39:17 +00:00
jdolecek a266be64dc Recongnize more error codes returned by W2K servers.
From FreeBSD
2003-03-24 08:20:01 +00:00
jdolecek fd9fac7cc2 spelling fixes, add SMB_SET_FILE_END_OF_FILE_INFO subfunction for
future use
from FreeBSD rev. 1.3, 1.4
2003-03-24 08:03:40 +00:00
jdolecek f0b60803a5 fix pasto in smb_t2_request() - t2_flags use SMBT2_RESTART, not SMBR_RESTART 2003-03-24 07:51:04 +00:00
jdolecek 41b5582182 iod_pingtimo is unused, #if 0
iod_sleeptimo is set to same value always, so use the value directly
and #if 0 iod_sleeptimo

add one smb_iod_wakeup() in smb_iod_sendrq()
XXX unfortunately iod thread still must wakeup periodically to check
XXX for arriving replies - command latency might be improved if this could
XXX be avoided
2003-03-24 07:49:48 +00:00
jdolecek 850f5b36ec Add unicode related definition for future use. Descibe Samba bug.
From Darwin via FreeBSD rev. 1.4
2003-03-24 07:40:50 +00:00
jdolecek 037635c879 spelling fixes.
From FreeBSD rev. 1.4

Add unicode related definition for future use.
From Darwin via FreeBSD rev. 1.5
2003-03-24 07:38:54 +00:00
jdolecek 5cc8e19b22 drop trailing $ added to FreeBSD RCS Id in last rev by mistake 2003-03-24 07:36:36 +00:00
jdolecek 0b6415076c Remove redundant checks for iovcnt > 1. This should be handled properly
in the subr_mchain.
From Darwin via FreeBSD smb_smb.c rev. 1.5

g/c bogus 'olduio' save/restore, it's not needed
2003-03-24 07:24:02 +00:00
jdolecek 5e1aff13f2 Pullup FreeBSD rev. 1.3 of this file - support for iovcnt greater than
1 in mb_put_uio(), mb_get_uio()
2003-03-24 07:09:34 +00:00
jdolecek 1864eaa69a directories don't have any size in smbfs/CIFS, so don't compare
size in smbfs_kqpoll() neither in filt_smbfsread()
this fixes kqueue on smbfs directory to not flag directory as 'changed'
all the time
2003-03-24 06:39:51 +00:00
bsh 3034a15d1f + fix a crash when write-back cache is used, by calling PTE_SYNC()
after tweaking page table entry.

+ 4th argument of bus_space_map() is not only for BUS_SPACE_MAP_CACHEABLE.
2003-03-24 04:15:49 +00:00
imp aa6bfd42a7 It appears that we now need locators.h. Other files in this directory
have it, and adding it makes this compile.  If this is not the right
way to fix this problem, please let me know the right way...
2003-03-24 03:32:08 +00:00
jdolecek 7d43984704 g/c some unneeded forward struct declarations 2003-03-23 17:54:26 +00:00
jdolecek 568fd88386 struct smb_rq diet - g/c unused structure members, and move some stuff
around to not waste space with alignment padding
2003-03-23 16:57:51 +00:00
jdolecek b05cd2b635 translate ERRDOS/ERRnofiles to ENOENT in smb_maperror(), and simplify
handling in smbfs_smb_search() appropriately - avoids using
sr_errclass&sr_serror too
2003-03-23 16:55:54 +00:00
jdolecek 4e2b57cec2 don't use rqp->{sr_errclass|sr_serror} - use the translated error
number instead
g/c SMB_DIALECT_MAX, it's not used
2003-03-23 16:51:52 +00:00
jdolecek 4a53d44e24 md_get_uint16le() doesn't like NULL target; change to md_get_uint16() 2003-03-23 16:46:41 +00:00
chris c9033077aa Garbage collect pmap_map, the last (and only?) use has been removed. 2003-03-23 15:59:23 +00:00
chris a97b660835 When doing a kernel dump use the pmap_k* funcs. Also make sure that all
data is written to ram.  This avoids issues with tlb's not being flushed
etc.

As discussed a long time ago on port-arm
2003-03-23 15:49:25 +00:00
chris 9fd86b683f Add __KERNEL_RCSID tags to footbridge files. 2003-03-23 14:12:25 +00:00
chris 0a11ce171f Increase the INSTALL kernel's memory disk by 200k, in advance of some
additions to the ramdisk.
2003-03-23 12:44:25 +00:00
jdolecek 0e82a29d7a remove unused struct members from struct smbioc_rq 2003-03-23 12:17:49 +00:00
jdolecek 3eecb88b32 smb_rq_reply():
* no need to use dummy variables for md_get_*(), just use NULL
* don't bother storing rpflags/rpflags2, it's not used anywhere
* g/c local variable rperror
2003-03-23 11:43:09 +00:00
ragge a6f8cf96f1 Add rfc/rf. 2003-03-23 11:03:04 +00:00
ragge ea5200bf17 Add rf (RX01/02 floppy device driver) 2003-03-23 11:02:29 +00:00
ragge 281464eb81 Driver for RX01/02 floppies, written by Jochen Kunz. 2003-03-23 11:01:16 +00:00
jdolecek aee3251066 use 'NetBSD' for client OS string 2003-03-23 10:52:03 +00:00
jdolecek 14e421e6b0 constify smb_share_typename() 2003-03-23 10:38:14 +00:00
jdolecek fa1e2856c7 use simpleq instead of tailq for iod_rqlist - simpleq is enough
for our needs here
2003-03-23 10:32:05 +00:00
jdolecek f6f096034a Compute the request timeout time in smb_iod_sendrq() when the request is
sent out, use mono_time instead microtime(), and simplify computation
in smb_iod_sendall(). Also count the timout once, not twice as previous code.

#if 0 iod->iod_lastrqsent, it was write-only
2003-03-23 10:01:31 +00:00
bsh f8f0fcb3af don't make kernels with options DEBUG print too much debug messages. 2003-03-23 08:59:02 +00:00
jdolecek 3a7bb2ccf1 smb_rq_new(): use MB_MZERO instead of MB_MSYSTEM+dummy tzero[] 2003-03-23 08:30:37 +00:00