Commit Graph

54822 Commits

Author SHA1 Message Date
kent 2260d0eb5d Copy syscall entries for SYSVSHM to syncronize kernel option. 2002-03-27 20:54:29 +00:00
wrstuden 785fe6b1db Revert last change as we now can get FSMAXTYPES w/o needing FSTYPENAMES
to be set.
2002-03-27 20:23:11 +00:00
scw 8fe81151a5 Add files.c to SRC_sa.
While I'm here, sort source files alphabetically.
2002-03-27 20:18:25 +00:00
augustss 0cc4bc8ffa Small rearrangment of the FreeBSD part of the code. 2002-03-27 19:51:39 +00:00
wrstuden c1f0a33961 Make a definition of FSMAXTYPES always available, as discussed on
tech-kern. Helps validate partition types w/o needing the whole
list of partition type names.
2002-03-27 19:07:32 +00:00
matt e00090dded Make the comment reflect reality a bit more. 2002-03-27 18:37:17 +00:00
kanaoka 4081bcf395 Add (missing)pushl/popl for %edi in ENTRY(pxecall_pxenv). 2002-03-27 17:24:22 +00:00
christos db95aa87ec fix compilo in debugging code. Reported by: Klaus Heinz 2002-03-27 16:39:51 +00:00
pk f4062f7921 Include "scsibus.h" to see whether we can query the scsi subsystem. 2002-03-27 16:05:19 +00:00
pk 082991d03a cs4231_sbus_regdump(): add missing ')' 2002-03-27 16:03:52 +00:00
kleink 1b6af7fb37 Add separate 601 versions of DSI/ISI trap entries, considering the
different battable entry format and the combined BAT implementation.
2002-03-27 15:40:46 +00:00
abs 1aa20af166 Regen for 'CONEXANT 56KFAXMODEM 0x1085 HW 56K Fax Modem' 2002-03-27 13:12:11 +00:00
abs 4b98be096f Add 'CONEXANT 56KFAXMODEM 0x1085 HW 56K Fax Modem' 2002-03-27 13:11:37 +00:00
uch 0ae715f6d2 All the sh3 ports had an identical procfs_machdep.c, so use a common
file under arch/sh3/sh3.
2002-03-27 10:44:38 +00:00
darrenr 9074b14439 Merge in the patch (PR kern/15963) to provide unaccelerated 24bit support
for the S24.
2002-03-27 10:14:17 +00:00
onoe 45a8f0749c Fix to work Symbol firmware card, which cannot be initialized more than once.
Tested with 3Com 3CRWE737A and Intel Pro/Wireless 2011.
2002-03-27 08:01:22 +00:00
chs 150665fbb1 91C96 has the same chip ID as 91C94, list both in attach output. PR 11413. 2002-03-27 07:50:54 +00:00
martin ebd73ccd11 After Jason Thorpe explained to me how it is supposed to work, implement
(de)activate for pcmcia cards.
Implement detach/(de)activate for PCI cards.
Clean up internal state (free call-descriptors) if a controller is
detached while it has open connections.
2002-03-27 07:39:35 +00:00
briggs e0d951068b Add fxp* (Intel EtherExpress PRO 10+/100B). 2002-03-27 06:39:16 +00:00
simonb 8e523e0470 Fix pci/pchb attachments after the recent ibm4xx mainbus rototil. 2002-03-27 05:25:28 +00:00
phil 1e490dbb97 Add the statfs upcall so df now reports cache size and usage. 2002-03-27 05:10:40 +00:00
chs e0a7781fc7 avoid accounting errors in pmap_enter() by only updating the counters
once the operation can no longer fail.  fixes PR 16028.
2002-03-27 04:47:28 +00:00
thorpej 33bf2a81e0 Note that this module will also work with the IQ80321 eval board. 2002-03-27 04:14:25 +00:00
thorpej eb1415ce49 Stand-alone memory sizing routine for the Intel i80321 I/O processor
("Verde").
2002-03-27 04:13:39 +00:00
thorpej c915b880c5 The 80321 manual lies; it does have a CPU ID distinct from the 80200.
Add that CPU ID, and add a case for it.
2002-03-27 01:34:47 +00:00
fredette 0fe578ec56 On the m68000, instead of extracting integer support from
libgcc, use bits from sys/lib/libkern.
2002-03-26 23:19:31 +00:00
fredette 749a99134b When DDB is not defined but Debugger() is anyways, define
console_debugger() to be Debugger().  This is relevant on
the sun2 and sun3, where a monitor is always available.
2002-03-26 23:17:09 +00:00
fredette 23aa52421d No longer assume that !DDB implies that Debugger() isn't defined.
Now only define Debugger() if it isn't defined already.
2002-03-26 23:14:49 +00:00
manu fff388471d Added the SETMASK32 command for sigprocmask(2). This is equivalent to
SETMASK except that the upper 32 bits are left untouched
2002-03-26 22:59:32 +00:00
fredette 58830d68c5 Added brand-new integer multiply and divide support, used only
on the m68000.
2002-03-26 22:49:32 +00:00
kleink 032762e1e9 On the 601, construct the CPU counter value from the RTC[UL] registers. 2002-03-26 21:50:39 +00:00
matt 12810ed37d Use size_t in prototype (so this will be LP64 clean for PPC64 someday).
Calculate len separately for icache & dcache in case each has different
cacheline widths.  Make the code for both loops the same except for the
dcbst/icbi.  Deal with sizes >=2GB properly (like that'll happen but ...)
2002-03-26 21:20:24 +00:00
thorpej dde8f75509 Only build pciconf.o if pci is configured. 2002-03-26 19:31:40 +00:00
thorpej 41f47f03e7 Restructure a few things in order to support other XScale core
I/O processors:
* The i80200 and the i80321 have the same CPU ID, so split the
  CPU_XSCALE option into CPU_XSCALE_80200 and CPU_XSCALE_80321
  options, and don't let them both be defined at the same time.
  XXX May want to revisit this in the future.
* Split some registers common between the i80200 and i80321 into
  <arm/xscale/xscalereg.h>.
* Rename a few existing functions.
2002-03-26 19:29:44 +00:00
drochner fe52be52a6 Add the actual session offset to the volume size. This makes
a) the "df" output not an underestimate (Multisession cd filesystems can
   refer to data in previous sessions)
b) some checks where a block number is compared against the volume size
   succeed - I got mysterious misbehaviour with RR extensions
2002-03-26 19:04:23 +00:00
manu 58537aa4d9 Fixed a typo in DEBUG_IRIX code 2002-03-26 16:58:56 +00:00
manu a4085df772 - Uses p->p_stats->p_ru instead of p->P_ru to get ressource usage, since
p->p_ru sometime happens to be equal to 0xdeadbeef.

- added more debug output.
2002-03-26 16:38:12 +00:00
christos 5c8e181780 We are not guaranteed that we have enough bytes to get a struct ip from our
mbuf. So if we receive a short packet, that looks like gif we would panic.
Reviewed by thorpej, tested by Kimmo Suominen and Andreas Wrede. Thanks for
the help in tracking this down.
2002-03-26 16:05:03 +00:00
isaki d4e117205d set factor=1/2 even if recording. 2002-03-26 15:05:29 +00:00
fvdl 2f5a2ef5af Start signal stack at -128(%rsp), like the ABI specifies. 2002-03-26 15:02:42 +00:00
fredette c3d894c1c3 Wait longer for the mouse self-test to complete, otherwise some
faster machines decide that the mouse is broken.
2002-03-26 13:59:10 +00:00
manu da6e8ccbe8 Don't allocate struct swapent when we only need a struct oswapent. 2002-03-26 11:50:26 +00:00
uch 3b784af7f0 remove MIPS3_L2CACHE_ABSENT option, since R5900 D-cache is 8KB
2-way. no need to worry about virtual aliasing.
2002-03-26 11:06:56 +00:00
uch 9c5fd0f84c change MAXPARTITIONS to 16. 2002-03-26 11:01:45 +00:00
manu a0fa2e7fa5 Added support for sysmp system accounting structures. Only real memory info
is defined yet, but it returns zeroes (will be fixed later).
2002-03-26 10:54:40 +00:00
manu 2ccdf1d7ec Added truncate(2), ftruncate(2), truncate64() and ftruncate64(), the two latter
being untested yet.
2002-03-26 10:52:52 +00:00
kanaoka e42f3e3081 Change scan step from 16 to 2, when pxe_init() check the presence of PXE.
This change improve checking the presence of PXE.
2002-03-26 08:02:05 +00:00
chs 23825982c3 add support for SMC 9332DST. 2002-03-26 07:57:16 +00:00
chs 99b5d17961 move some prototypes from tulip.c to tulipvar.h so they can
be used by bus-specific code.
2002-03-26 07:41:40 +00:00
shin ae418cfcb0 enable NFSSERVER. 2002-03-26 05:26:37 +00:00
mhitch a0e1b0e0d1 Need to include files.o for the file descriptor table used by open().
The -S flag to indicate secondary boot no longer takes a size - size is
computed from input image.
2002-03-26 05:21:37 +00:00
mhitch 1ae1c48b8f Need to include files.o for the file descriptor table used by open(). 2002-03-26 05:19:39 +00:00
mhitch 2f871ae8a1 Check for referencing undefined symbols, and bail out if there were any.
Change the -S option to just a flag for Secondary boot, and compute size
of bootfile image from the input.  Secondary boot is no longer a fixed size.
2002-03-26 05:18:19 +00:00
kleink 7df1d60bab Bump version to note 601 support. 2002-03-26 00:11:54 +00:00
kleink ccf604db9e Adapt this to the 601's RTC. 2002-03-26 00:03:47 +00:00
thorpej 3964313f67 Fix reporting of the kernel virtual address space range to UVM. 2002-03-25 22:11:12 +00:00
kleink 7e9d845469 * Add MPC601 versions of BAT_VA_MATCH_P() and BAT_VALID_P().
* Make the extern declaration of the battable array incomplete;
  a given port might want to use a differently-sized definition to
  support the 601 BAT implementation, where blocks map up to 8M only.
2002-03-25 21:35:45 +00:00
thorpej 7c7c319cb3 There is no need to use a kthread to read the VIA environment
sensors.
2002-03-25 21:29:58 +00:00
thorpej b017898534 Get flags passed down to PHY drivers correctly. This was done on
an adhoc basis in a couple of PHY drivers, this fixes it more generally.

Per a discussion w/ Cliff Neighbors <cliff@allegronetworks.com>.
2002-03-25 20:51:24 +00:00
manu 76084f5561 Added syssgi(PATHCONF), which implements pathconf(2), and syssgi(SETPGID)
which implements setpgid(2).
2002-03-25 20:42:50 +00:00
jdolecek 174534705d use DTYPE_VND (the one intended) rather than bogus DTYPE_VNODE
for the GEMDOS disklabel check
indent the if condition so that the intent is clearly visible
discussed with Leo Weppelman
2002-03-25 20:42:40 +00:00
martin 9611ef91c3 Cosmetical nitpick: initialize TEI to -1 instead of 0, to prevent
controllers that don't touch it at all to display a bogus, but
theoreticaly valid value.
2002-03-25 20:28:41 +00:00
thorpej a2a309d02a * Some cleanup.
* Delete the call to pmap_copy() in pmap.h
2002-03-25 19:53:38 +00:00
uch b095a0d0c5 ANSIfy, KNF 2002-03-25 18:59:39 +00:00
manu 0e9d73c741 Added support for IRIX kernel var emulation in kmem (not functionnal yet) 2002-03-25 18:43:59 +00:00
thorpej b17e7a03c2 Clean up pmap_map_ptes() and pmap_unmap_ptes() a little, and add
a debug assertion that curproc is never NULL if mapping a non-current
pmap.
2002-03-25 17:50:12 +00:00
uch 13b945ce31 recompile. 2002-03-25 17:34:53 +00:00
thorpej a2d8f71d01 The target page of pmap_zero_page(), pmap_pageidlezero(), and
pmap_copy_page() will never have any mappings.  Therefore, it
is unnecessary to do a cache clean for that page.

Add assertions in #ifdef DEBUG that assert this invariant.

This shaves some cycles off the frequently-called pmap_zero_page()
and pmap_copy_page() (no need to look up the dst page's vm_page
structure, and one less function call to clean the page).
2002-03-25 17:33:26 +00:00
uch d1f348c04d add EditText to "option tab window" for user can put extra options to
kernel. patch by Hirokazu FUKUI <hfukui@sannet.ne.jp>
2002-03-25 17:23:19 +00:00
thorpej 75cb2c6554 * Clean up some comments/whitespace.
* Don't construct a fake trap frame and pass it to main(); that hasn't
  been needed for some time.
* panic if main() returns.
2002-03-25 16:58:18 +00:00
thorpej 13dab83888 Use the generic ARM procfs_machdep.c 2002-03-25 16:42:30 +00:00
thorpej aa0ba8096c Use the generic ARM process_machdep.c 2002-03-25 16:41:15 +00:00
martin 0db68b667b Now that we have all pieces in place (and enough granularity to specify
B-channel and D-channel drivers separately) split the Fritz!PCI card
driver out of the isic driver.

The new device is called "ifpci" and uses the same D-channel driver as the
isic devices, but has it's own B-channel driver.
2002-03-25 16:39:52 +00:00
thorpej ec1c475f7c Use the generic 32-bit ARM setstack.S 2002-03-25 16:36:25 +00:00
thorpej a4d12b89f5 Use the common 32-bit ARM setcpsr.S 2002-03-25 16:34:46 +00:00
thorpej a61914be93 Garbage-collect fetchuserword(); nothing uses it any more. 2002-03-25 16:32:55 +00:00
is 89bf05888a make this compile again 2002-03-25 15:42:09 +00:00
is 41c0b419fc the big ISDN renaming 2002-03-25 15:41:21 +00:00
martin 909e313a80 Remove a leftover from the BRI registry at layer 2.
Initialize layer 2's idea of it's BRI id after attaching.
2002-03-25 14:44:46 +00:00
martin 963ecd396e Plug a memory hole when detaching ISDN controllers. 2002-03-25 14:25:06 +00:00
shiba a3b10f5127 Switch mac68k to ELF. Now the default executable binaries are ELF.
Approved by Scott,briggs,fredb,wormey
2002-03-25 14:03:05 +00:00
shin a257a8dad5 if root device is md, change KLOADER_KERNEL_PATH to "/mnt/netbsd". 2002-03-25 13:47:26 +00:00
shin 142e7ef1a1 vrpiu needs wsmouse. 2002-03-25 13:24:18 +00:00
aymeric 434696e615 include <machine/conf.h> instead of <sys/conf.h>
The new DEV_RELOAD macro is defined in machine/conf.h and we need it.
2002-03-25 13:14:10 +00:00
martin a994533d0a Make pcmcia cards detach properly.
Notify userland of attaching/detaching cards.
This partly fixes PR 15951.
2002-03-25 12:07:33 +00:00
shin a1f41292a6 reduce GP size. 2002-03-25 10:02:50 +00:00
shin b7ac9aaff3 TX3922 is supported by GENERIC. 2002-03-25 09:42:30 +00:00
shin a49599223d this document is obsoleted. 2002-03-25 09:40:58 +00:00
dbj ea44522489 changes from Warner Losh to read firmware version for non prism2 cards 2002-03-25 09:10:54 +00:00
martin 8a2d9422bd Fix confusion about the return value from the internal MI probe routine.
Make the ISA probe actually (silently) fail if no card is found.

XXX - need to aquire the SBUS variant of this card some day or have
Jaromir find an MCA one.
2002-03-25 09:08:09 +00:00
martin 642b1a7163 Remove dummy_splraise() - it is not needed according to Paul Kranenburg.
We may revisit this once a general interrupt queuing mechanism is
available and we can avoid calling the pcmcia cards interrupt handler at
an exsessive IPL.
2002-03-25 09:02:54 +00:00
shin d2df7381ed enable kloader. 2002-03-25 08:42:35 +00:00
kent 9392b84ff9 Introduce a new LKM `compat_pecoff'
Add it to SUBDIR.

To enable PECOFF, do the following:
	# modload /usr/lkm/compat_pecoff.o
	*then*
	# modload /usr/lkm/exec_pecoff.o
2002-03-25 06:52:41 +00:00
kent d92d45e16c Move a variable `emul_pecoff' to new file. 2002-03-25 06:44:46 +00:00
mrg 40fa931dcb remove vnd. use -mcpu=ultrasparc. 2002-03-25 05:54:51 +00:00
thorpej dbe6d8291b * Fix use of pmap_curmaxkvaddr.
* Use the PTP hint in the pmap.
2002-03-25 04:51:19 +00:00
itohy ab5fe01c20 Print ttyinfo *before* (not after) sending SIGINFO to processes.
This generates more useful information of a process who catches SIGINFO,
rather than always printing "runnable" (the process is marked runnable
because of the signal).
Inspired by the behavior of BSD/OS.
2002-03-25 04:26:43 +00:00
thorpej 8500c97458 Move some private pmap data structures into pmap.c 2002-03-25 03:00:28 +00:00
thorpej c93e4f6940 Tidy a few things up. 2002-03-25 02:51:32 +00:00
thorpej a9cba12f54 Correct the comment describing the layout of the VM space. In
particular, don't describe a recursive PTE mapping, since the ARM
port doesn't (and can't) use one.
2002-03-25 02:44:07 +00:00
chs fe10bac175 if the size argument to write(2) is 0, do not modify the file in any way,
including updating timestamps.  required for standards conformance.
2002-03-25 02:23:55 +00:00
chs f80ed5892c remove PGO_WEAK, it isn't needed anymore. 2002-03-25 02:08:09 +00:00
chs 76cacb8710 when processing PG_RDONLY, mask off VM_PROT_WRITE instead of hard-wiring
VM_PROT_READ (since we might have VM_PROT_EXEC too).  this fixes problems
running binaries out of NFS on macppc.  yet another fix courtesy of enami.
2002-03-25 01:56:48 +00:00
thorpej da2944b10e In the Prefetch Abort handler, just do the uvm_fault() dance
directly, rather than doing a data access to fetch the page,
which meant we had to take another fault (!!).
2002-03-25 01:53:36 +00:00
bjh21 67a2b59b9c Remove all my pointless "This file is part of NetBSD/arm26" comments, since
that's easier than correcting them.
2002-03-24 23:37:42 +00:00
bjh21 f1f30eb04d Fix include directories. 2002-03-24 23:17:36 +00:00
bjh21 83ecfb19eb Fix include directory. 2002-03-24 23:17:00 +00:00
bjh21 dbe15f1606 In commented-out SUBDIR, rename arm26 -> acorn26. 2002-03-24 23:15:05 +00:00
martin ef6a5a4c4c Minor nit in the attach message: don't print empty io or iomem. 2002-03-24 23:04:27 +00:00
thorpej a4652c81cf Only check for SA110 bugs on SA110 CPUs with step <= K. 2002-03-24 22:03:23 +00:00
thorpej ea553e2681 Cache the cpu type and cpu revision in cpu_info. 2002-03-24 22:02:58 +00:00
reinoud a24660e86c Fix detection of ARM 610 processors in the bootloader. NetBSD/acorn32 now
runs on ARM 610's again !!
2002-03-24 21:59:48 +00:00
thorpej 35e2087b84 Make this compile again. 2002-03-24 21:46:28 +00:00
thorpej 2a68b2b9b1 Use the generic 32-bit ARM fault.c 2002-03-24 21:41:12 +00:00
thorpej 186c0135d6 Garbage-collect pmap_pte() (and good riddance!) 2002-03-24 21:32:18 +00:00
thorpej ea95b58d21 * Only check for SA110 rev K bug if we're on an SA110 (XXX should also
check stepping).
* In said check, don't use pmap_pte().
* Garbage-collect some useless debug code.
2002-03-24 21:27:57 +00:00
chris 03345d6008 remove pointless pg = NULL in else part of if (pg != NULL) 2002-03-24 21:10:25 +00:00
thorpej bf3ea66d5c pmap_enter(): Use pmap_map_ptes() correctly. 2002-03-24 20:48:59 +00:00
itojun bb1e9bbcd8 double m_free() - niklas@openbsd 2002-03-24 20:46:56 +00:00
martin 0bc69b6498 Now that we have all the pieces of the puzzle available start to unriddle
and move them in their proper places.

Move the BRI registry from layer 2 (duh!) to layer 4, so active cards
(which don't have layer 3 or layer 2 in their driver). Remove all remaining
hard coded controller and driver types. Remove any arbitrary hard coded
limits, at least those that show up in the internal API.

This fixes PR 15950.
2002-03-24 20:35:43 +00:00
chris c247fe1261 cats has enough kvm space to use the default pager_map size. 2002-03-24 20:15:59 +00:00
jdolecek abc9dff158 Limit the KVA used for pipe loaned memory to 64KB, vax doesn't have too
much KVA space spare. This fixes port-vax/13333 by Manuel Bouyer.
Reviewed by: Anders Magnusson

XXX this is not ideal, need to find better solution
2002-03-24 19:08:17 +00:00
jdolecek 313e79182d aha at mca? confirmed working (test card provided by Jonathan Hankins) 2002-03-24 18:47:54 +00:00
jdolecek 6c9be960fd update comments + cosmetic change in aha_mca_probe()
Driver is now confirmed working. Tested with AHA-1640 card provided to me
by Jonathan Hankins.
2002-03-24 18:46:49 +00:00
thorpej 1ffa188c0a Remove exported pmap_pte() prototype. 2002-03-24 18:36:52 +00:00
uch cfe4dfb98f add autoconf.h for new mainbus driver. 2002-03-24 18:28:12 +00:00
uch e8300f3659 adapted to new interrupt code and shb changes. 2002-03-24 18:21:08 +00:00
scw 7ce75221c2 Round VID_OSL to be a multiple of 32 * 256byte blocks. 2002-03-24 18:15:03 +00:00
uch 422c178bc7 add cpu device. sync with shb change. 2002-03-24 18:14:27 +00:00
scw d22256f158 Pass RB_NOSYM to exec_mvme() otherwise loadfile() tries to lseek()
backwards, which we don't support.
2002-03-24 18:13:24 +00:00
uch 5f6dd2098e Remove unneeded device and fix comment 2002-03-24 18:13:01 +00:00
thorpej 5ffc15a083 Use vtopte() instead of pmap_pte(). 2002-03-24 18:12:54 +00:00
uch 3d1452008e remove unneeded header 2002-03-24 18:11:09 +00:00
scw 3d663e9bb1 Bump the MD image size to 1600 blocks. 2002-03-24 18:10:54 +00:00
scw d0dba1cf87 Build the 68k-specific vmetwo stub (albeit a cut down version), even
if vmetwo isn't in the config file.
2002-03-24 18:10:14 +00:00
uch 7803620f8d mmeye specific devices are moved to mmeye/dev 2002-03-24 18:08:42 +00:00
chris 434f6391ea Update pmap_copy_page to only map in the src readonly and only invalidate it after the copy, no need for it to flush the wb. 2002-03-24 18:05:45 +00:00
uch 24ec477a45 Rework interrupt code.
+ Fully utilize SH SR.I[0:3] interrupt level.
 + software interrupt is emulated by TMU1, 2 one shot interrupt.
 + implement generic soft interrupts.
 + implement clockframe correctly.
2002-03-24 18:04:39 +00:00
jdolecek b042e5bdb0 drop the isadma attribute for aha, aha at mca? doesn't use that 2002-03-24 18:03:58 +00:00
uch 50fcaf7ba0 add cpu device. 2002-03-24 18:01:29 +00:00
uch 049c84193e shb device is integrated to sh3/dev/shb.c and clean up locators. 2002-03-24 18:00:41 +00:00
uch 731150d9ce add SH7750S IPRD register define 2002-03-24 17:57:33 +00:00
scw 7e69c325c1 Fix a botch from the dev/mvme split for kernels with no vmetwo in
the config file.
2002-03-24 17:22:32 +00:00
jdolecek 9977ae0589 ncr53c9x_attach(): if sc_rev is NCR53C90_86C01, set it to ESP100 once
the variant name is printed.
This fixes a problem that the card would be treated as ESP100 in
ncr53c9x_reset(), but not on couple other places (pointed out by
Andy Doran in private e-mail).

g/c now redundant case entry in ncr53c9x_reset()
2002-03-24 17:16:19 +00:00
augustss 269b3925f6 Regen. 2002-03-24 17:16:04 +00:00
augustss 4cadac3fb4 Add some devices. From seebs <seebs@ged.plethora.net> 2002-03-24 17:15:42 +00:00
manu 3f4cce33b9 Aded missing irix_keme pseudodevice declaration 2002-03-24 17:09:26 +00:00
christos 4f0742e306 Change the multicast/broadcast test to happen later, and when we are
in listen mode. Fixes panic with telnet ::1 port, where the port is an
ipv4 open port.
2002-03-24 17:09:01 +00:00
bouyer 21ac4c9d76 Add support for the AMD768. Tested by Murray Armfield <murray@river-styx.org>. 2002-03-24 16:58:12 +00:00
jdolecek e971d6b60f msdosfs_mountfs(): drop some excessive braces in the GEMDOS-related section
no change in functionality
2002-03-24 16:30:11 +00:00
jdolecek d1f2e630ca Fix a memory leak in bridge_ioctl_add() when the called for non-ethernet
interface.
Problem noted and fix provided by in kern/16019 by Love.
2002-03-24 16:11:23 +00:00
bjh21 650f7e5c99 arm26 -> acorn26 changes. 2002-03-24 16:10:11 +00:00
bjh21 c5ada96476 arm26 -> acorn26. 2002-03-24 15:56:59 +00:00
bjh21 cc685cb13e __arm26__ -> acorn26. This has the advantage of actually being defined. 2002-03-24 15:52:33 +00:00
bjh21 a90a7a1ab7 Mention the DS2401 Silicon Serial Number. 2002-03-24 15:51:45 +00:00
bjh21 99ba40c188 arm26->acorn26 transition. 2002-03-24 15:49:38 +00:00
bjh21 1de4f40a8a Rename NetBSD/arm26 to NetBSD/acorn26, so that the two Acorn/ARM ports have
matching names.  This commit might include some private hacks that have been
lurking in my tree a while.  They're all harmless, and this reduces the number
of gratuitous diffs I have to deal with.
2002-03-24 15:45:29 +00:00
bjh21 ebfcb75fe5 Add ARM610 cache information. Not yet tested because booting on ARM610s seems
to be broken at present.
2002-03-24 15:37:46 +00:00
jdolecek bbee4277ca fd_revoke(): don't assume that f_type other DTYPE_VNODE and DTYPE_SOCKET
is automatically bogus, make the code return EINVAL for all non-vnode
descriptors
2002-03-24 15:32:51 +00:00
jdolecek 4cfe9dc1f6 use FILE_USE()/FILE_UNUSE() as appropriate, use malloc()/free()
instead of MALLOC()/FREE() for variable-size allocations (sync
with kern/sys_generic.c)
XXX not tested
2002-03-24 15:19:24 +00:00
jdolecek 3089d90eeb add explicit comment a FILE_USE() is not needed here 2002-03-24 15:12:45 +00:00
jdolecek fc18dc8984 minor indentation fix 2002-03-24 15:03:00 +00:00
kent 79decd163e Move 'pecoff' to installable SUBDIR 2002-03-24 15:01:57 +00:00
bjh21 96dda214b4 Avoid "unused variable" warnings in the NCR5380_USE_BUS_SPACE case. 2002-03-24 14:56:01 +00:00
isaki 7b178b2f1f bsd_audioio.h was obsolated by vs0 2002-03-24 14:54:50 +00:00
jmcneill 2000b295ed Fix suspend/resume. Previously, suspending/resuming while playback was active
would either:

 1. Cause the machine to stop responding, or
 2. Cause the currently playing voices to stop output.

With this change, voices are stopped on suspend, and continue from where they
left off on resume.
2002-03-24 14:17:35 +00:00
is 6963fa721e use the right endian ether_crc32 function in the multicast hash table computation 2002-03-24 11:00:17 +00:00
thorpej a6d59cb039 pmap_allocpagedir(): Don't use pmap_pte(), and simplify a little. 2002-03-24 06:07:00 +00:00
oki b10ef43c8e Read /usr/libexec/ld.so.dll if failed to read
/emul/pecoff/usr/libexec/ld.so.dll.
reported via IRC from kent, thanks.
2002-03-24 05:55:49 +00:00
thorpej b812152b34 pmap_handled_emulation(): Fix locking protocol botch.
XXX Should we traverse the PV list and enable all PTEs?
2002-03-24 05:55:31 +00:00
thorpej 6fbfe41621 pmap_handled_emulation(): Use pmap_map_ptes() correctly. 2002-03-24 05:52:10 +00:00
uwe b540b26b5a Sync most Cyrillic names with X11 keysym names. 2002-03-24 05:43:12 +00:00
thorpej ec75dcf496 pmap_modified_emulation(): Use pmap_map_ptes() correctly. 2002-03-24 05:39:53 +00:00
thorpej 0aef2cab11 pmap_unwire(): Use pmap_map_ptes() correctly. 2002-03-24 05:28:46 +00:00
thorpej 11df08a743 pmap_clearbit(): Use pmap_map_ptes() correctly. 2002-03-24 05:15:59 +00:00
thorpej eb638f9bc5 Use pmap_is_curpmap() consistently. 2002-03-24 04:56:49 +00:00
thorpej 242f080390 Clean up the PTP allocation functions a bit. 2002-03-24 04:49:16 +00:00
thorpej c34d24ea3c Clean up PTE access macros a bit. 2002-03-24 04:38:33 +00:00
sommerfeld b8de140e4e Prototype ACPI Control Method Battery driver.
ACPI defines two different battery device interfaces: "Control Method"
batteries, in which AML methods are defined in order to get battery
status and set battery alarm thresholds, and a "Smart Battery" device,
which is an SMbus device accessed through the ACPI Embedded Controller
device; this driver knows how to attach to the former sort of device.

As a total kludge, since we haven't wired things up to sysmon/envsys
yet, we report battery status through a once-per-minute kernel printf,
so don't use this driver yet if you want your disk to spin down.

Motivated by and tested on Sony PCG-R505TL laptop, which has
nonfunctional APM.

configure as:

acpibat* at acpi ?

Sample output:

acpibat0 at acpi0: ACPI Battery
acpibat0: Sony Corp. LION
acpibat0: Design 38480mWh, Predicted 38480mWh Warn 120mWh Low 0mWh
acpibat0: discharging: 15112mV cap 25480mWh (66%) rate 16849mW
...
acpibat0: discharging: 15224mV cap 25070mWh (65%) rate 18405mW
...
acpibat0: discharging: 15200mV cap 24310mWh (63%) rate 13771mW
...
acpibat0: charging: 15768mV cap 23330mWh (60%) rate 20388mW
2002-03-24 03:46:10 +00:00
thorpej aa1563948c * arm_byte_to_page() -> arm_btop()
* arm_page_to_byte() -> arm_ptob()
2002-03-24 03:37:18 +00:00
sommerfeld 44ede71657 Add acpi_eval_struct, to evaluate a complex data structure.
#if 0-out a half-fixed acpi_eval_string() and #if 0 the only call to it.
(Previous code referenced an uninitialized local variable and couldn't
have possibly worked).
2002-03-24 03:32:14 +00:00
thorpej 48d8c5fdd9 Remove some redundant tests in pmap_enter(). 2002-03-24 03:25:10 +00:00
jdolecek 0b5e2aba9a Fix problem with assumption non-socket == vnode in F_{G,S}ETOWN different way
(revisions 1.47 & 1.48 effectively backed off):
* for all but vnodes, just fallback to sys_fcntl(); assumming
  state of support for F_SETOWN/F_GETOWN and even hardcoding it here is
  not right (e.g. rev. 1.47 had this incorrect for DTYPE_PIPE)
* fallback to sys_fcntl() also for vnodes which don't represent tty
* don't need to use FILE_{,UN}USE() here, the code won't block while
  using the pointer
* add/fix some comments
2002-03-24 00:32:34 +00:00
itohy 78b5427b7e Add wait-for-ready code between setting MCE and changing data format,
which is required by OPL3-SA2 (YMF711) chip.
Fixes PR kern/14819.
2002-03-23 23:40:32 +00:00
reinoud 2b488a7d9f Big rototil of the vidcvideo code to cleanup illogical structures and to
incorporate write back support for processors not having a write through
cache.

The current fb_devconfig structure now really holds the device's
configuration and the softc really only holds the attachment information.
This used to be mixed giving rise to weird stuctures and cross references.

The number of vertical syncs before the video memory writeback is triggered
is configurable ... default is to wait for 5 Vsync .. aprox minumum 10
times a second, but more likely in the order of 12,5 times a second. When
printing is in progress no write back is performed... only after the
waiting time. The reasoning behind this is that as long as the screen is
printed too the cache will be purged of dirty data anyway due to the
processing and new screen memory useage.
2002-03-23 21:27:41 +00:00
thorpej 2488d00e5f KERNEL_SPACE_START -> KERNEL_BASE 2002-03-23 19:38:30 +00:00
thorpej e80bfdc1a3 Garbage-collect the "pagehook" stuff. 2002-03-23 19:21:58 +00:00
thorpej 4b6638c0b5 pmap_bootstrap(): Correct arithmetic on pte when advancing past
the newly-allocated msgbuf.  (Note, it happened to work before
because nothing used pte afterwards, but in the event something
is added that does, pte should be correct.)
2002-03-23 18:39:46 +00:00
ragge 300bbc803f Check unit number when booting from rl disks. 2002-03-23 18:13:04 +00:00
ragge f3082cc970 Call rlreset() per controller, not per disk.
Be more informative about the state of the disk (locked, unloaded etc...)
Send NULL as proc pointer to bus_dma_load if B_PHYS is not set.
Break out softc's from rl.c to rlvar.h for inclusion elsewhere.
2002-03-23 18:12:09 +00:00
reinoud 2d2df858f7 Fix up typos. 2002-03-23 18:10:24 +00:00
kent a37082a494 whitespace and folding fix. 2002-03-23 17:17:10 +00:00
reinoud fe2473fafd Fix typo. 2002-03-23 17:10:13 +00:00
kent 541b66ade5 Decrease UAUDIO_NFRAMES: 20 -> 10
This change eliminates noise of 6ch audio.
2002-03-23 16:23:20 +00:00
darrenr 726f1074d8 If someone is poll'ing to write to bpf, assume that it can always be done
and include POLLOUT and POLLWRNORM in the returned events flag set.
Derived from FreeBSD.
2002-03-23 15:55:21 +00:00
taca e6937b841b Change devinfo definition and make devname initialization correctly.
Those changes are referring with uplcom.c.

I've checked with SUNTAC U-Cable type P1 that it responed to AT commands.
2002-03-23 15:38:22 +00:00
christos 3c2d0dbff9 correct placement for FILE_UNUSE [from Izumi Tsutsui] 2002-03-23 15:36:15 +00:00
simonb adc0cdfea7 Allow selection of a big- or little-endian kernel by uncommenting the
std.malta.eb or std.malta.el config include file in the kernel config
file.  From the sbmips and evbsh3 ports.
2002-03-23 14:51:28 +00:00
simonb 2184ed8531 Convert evbmips to use mips/mips/bus_space_alignstride_chipdep.c. 2002-03-23 14:33:35 +00:00
simonb de2d1df3a9 Remove the comment that says this is for PCI busses only. 2002-03-23 14:20:41 +00:00
simonb 8e5ab10b05 Add generic chipset memory and I/O "bus" functions for mips, based on
algor/pci/pci_alignstride_bus_{io,mem}_chipdep.c.
2002-03-23 14:19:18 +00:00
enami c504305f1b Make this file compiles again. 2002-03-23 13:43:04 +00:00
jdolecek 943f2b4f8a make COMPAT_11 or COMPAT_12 imply EXEC_ELF_NOTELESSS
use #if for the execsw entries, to allow 'options EXEC_ELF_NOTELESS=0'
  to override this

This addresses kern/13520 and kern/14409 by Matthew Green.
2002-03-23 09:50:54 +00:00
jdolecek 083f26646d rename EXEC_ELF_CATCHALL to EXEC_ELF_NOTELESS 2002-03-23 09:40:55 +00:00
hamajima e33fdf6c62 add WinFast VC100 2002-03-23 09:27:50 +00:00
hamajima fddeb95f9f add VR4121 Audio Interface Unit 2002-03-23 09:02:01 +00:00
shin 3389664fee add MIPS3_NO_PV_UNCACHED. 2002-03-23 05:16:33 +00:00
chs 20a94bdf2d only do v3 stuff for v3 filesystems. 2002-03-23 05:00:57 +00:00
chs 60b5cc6ac2 make this compile again (PS_STRINGS is gone). 2002-03-23 05:00:04 +00:00
gmcgarry 3ed7e33e1d Add commented-out default definitions for BASEREG and BASEMEM. 2002-03-23 03:45:04 +00:00
gmcgarry 4c3affa3f6 Remove FreeBSD RCSID. 2002-03-23 03:40:24 +00:00
shin b7cd4d56ee add LKM. 2002-03-23 03:17:57 +00:00
shin f8fe1d3f46 change MAXPARTITIONS to 16. 2002-03-23 03:14:54 +00:00
thorpej 110e2a57ff * Change all uses of KERNEL_SPACE_START to KERNEL_BASE.
* Delete now unused KERNEL_SPACE_START.
2002-03-23 02:53:59 +00:00
thorpej aec8b8b92e * Fix the definition of KERNEL_BASE.
* Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
  KERNEL_BASE.
2002-03-23 02:42:46 +00:00
thorpej d364ce88c0 Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
KERNEL_BASE.
2002-03-23 02:35:24 +00:00
thorpej f0d2ad4c95 Slignt cleanup. 2002-03-23 02:33:38 +00:00
thorpej bf1bc7a9f5 Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms of
KERNEL_BASE.
2002-03-23 02:30:29 +00:00
thorpej e5acae884b Define KERNEL_TEXT_BASE, APTE_BASE, and KERNEL_VM_BASE in terms
of KERNEL_BASE.
2002-03-23 02:28:42 +00:00
thorpej 0ba36d6f6f * Rename PROCESS_PAGE_TBLS_BASE -> PTE_BASE
* Rename ALT_PAGE_TBLS_BASE -> APTE_BASE
* Garbage-collect PAGE_TABLE_SPACE_START
2002-03-23 02:22:56 +00:00
reinoud 89400b4aab Allthough this patch doesn't look that much it adds a few things that were
on the port-acorn32's TODO list for quite some time :

- when the serial console is selected, don't exclude the screen
alltogether; currently the keyboard is still not attached but that might be
a configuration problem in the GENERIC console or a failure to explicitly
connect to a wsmux. This needs further investigation.

- create a framework for the display memory writeback on vsync for
StrongARM processors since they don't have a write-trough cache. This is to
solve the lazy screen update that is very evident in single user mode on
these processors; the cache isn't flushed/written back that often and parts
of the screen can thus be resident in the cache but not written out to
memory yet.

- clean up some loose ends in the code.
2002-03-23 02:00:26 +00:00
thorpej b326238b01 Remove redundant #ifdef _KERNEL 2002-03-23 01:56:31 +00:00
wrstuden 27d8692678 Add support for storing NetBSD file system type codes inside of
an Apple Partition entry. As proposed to port-macppc. Also some
prototype modernization for touched routines.

Method is that NETBSD, NETBSD/MACPPC, NETBSD/MAC68K partitions,
if they have a valid bzb, contain all of the info we shove in a NetBSD
disklabel partition entry. defines in disklabel.h cover aliasing
some of the bzb fields.
2002-03-23 01:29:35 +00:00
itojun 714618fb98 fix arg to bcmp() - need to compare 15 bytes, not 3 bytes. sync w/kame 2002-03-23 00:43:59 +00:00
mjacob 6424bafe73 kern/16014- if we do an 'mt offline', make sure we've allowed the tape
to be ejected (PR_ALLOW). This got nuked in a previous change.
2002-03-22 21:39:36 +00:00
jdolecek dd94bff875 invoke setregs hooks correctly, as in sys_execve()
Problem noted and fix tested by Eduardo Horvath
2002-03-22 21:36:46 +00:00
leo 7c8d16d63f Also find swap partitions in a (possibly embedded in AHDI) NetBSD label on
the disk.
2002-03-22 21:29:23 +00:00
leo 7b23fbe29a Add code for reading NetBSD disklabels. 2002-03-22 21:27:58 +00:00
shiba f819f78977 fixed attach fail intvid in PowerBook Duo 210,230.
these machine works with multi user mode.

References:http://developer.apple.com/techpubs/hardware/Developer_Notes/
		Macintosh_CPUs-68K_Portable/PowerBook_Duo_System.pdf
           http://developer.apple.com/techpubs/hardware/Developer_Notes/
		Macintosh_CPUs-68K_Portable/PowerBook_150.pdf

Submitted: Daishi Kato <daishi@axlight.com>
Tested: Kazuyuki Inanaga <happyday@pp.iij4u.or.jp>
2002-03-22 20:10:28 +00:00
drochner b8d0641b68 iadd subclass codes from the 2.3 spec 2002-03-22 20:03:20 +00:00
jdolecek 225f07a8d4 Make sure file descriptor is properly FILE_UNUSE()d in error case
of writev(2).
Problem found by Alistair G. Crooks.
2002-03-22 18:58:59 +00:00
christos b7acd59d13 Add more debugging code. 2002-03-22 18:41:40 +00:00
christos 0a4f1c3d8f sync with current reality and fix debugging. 2002-03-22 18:39:23 +00:00
christos 65fc8539e4 gc debugging printfs. 2002-03-22 17:14:18 +00:00
christos c8f14c1d44 remove debugging printf. 2002-03-22 16:41:23 +00:00
christos 8b2467a1e9 nuke mmap2, cleanup mmap, add mprotect 2002-03-22 15:21:28 +00:00
christos 5681411206 regen 2002-03-22 15:19:53 +00:00
christos b3c32e7e6d nuke mmap2, add mprotect 2002-03-22 15:19:43 +00:00
christos 99ff14c9f3 regen 2002-03-22 15:18:48 +00:00
christos 45af46eb53 add mprotect, nuke mmap2 2002-03-22 15:18:13 +00:00
christos b9a0007d1d regen 2002-03-22 15:17:17 +00:00
christos 190ffecb97 add mprotect, nuke mmap2 2002-03-22 15:17:04 +00:00
christos 7359db6620 regen 2002-03-22 15:16:14 +00:00
christos 24e38ed8f3 nuke mmap2 add mprotect 2002-03-22 15:16:02 +00:00
christos f7f4206314 regen. 2002-03-22 15:15:08 +00:00
christos 2b9a2aabe8 nuke mmap2, add mprotect 2002-03-22 15:14:55 +00:00
christos 92945f57fe regen 2002-03-22 15:11:23 +00:00
christos 22111899d0 1. make sure lines don't wrap
2. fix mmap and call it mmap like other ports do, not mmap2
3. implement fcntl64
4. implement mprotect because linux treats args slightly differently.
2002-03-22 15:10:38 +00:00
christos b02cb6b16f implement the locking calls for linux_file64. 2002-03-22 14:54:49 +00:00
christos 3b57c6607c - obey FILE_USE and FILE_UNUSE
- don't assume that non sockets point to vnodes.
2002-03-22 14:53:26 +00:00
christos 2df30ebb25 linux passes the 6th argument in %ebp; handle that so that we can get mmap2
working. Also tell us which syscall has too many args. Thanks Frank!
2002-03-22 14:49:37 +00:00
reinoud 12d0f60218 If the serial console is asked for then dont forget to define the function
prototype for connecting the serial console....
2002-03-22 13:32:51 +00:00
martin 524c49ba6a Fix some handle/tag confusion. This makes it compile on sparc64 again.
Since sparc ignores tag's (/brick sparc) this slipped through when testing
on sparc.
2002-03-22 11:52:07 +00:00
darrenr 256089809f Return EFBIG from mmap() if we try to map too much data and in the fixed
address allocation, return EOVERFLOW to match with the non-fixed error.
2002-03-22 11:06:33 +00:00
martin 9cea4a0ab0 Bring the daic driver into the new ISDN world order.
Enable active card support in the ISDN subsystem. (Had been disabled since
it couldn't be tested before.)
2002-03-22 09:54:15 +00:00
takemura db078facf1 Added Vrc4172 USB OHCI for Pencentra 130. 2002-03-22 09:18:07 +00:00
itojun bd5373f4e2 no need to check in_broadaddr/IN_MULTICAST in dropwithreset label.
suggested by enami
2002-03-22 04:31:01 +00:00
chs 0f2018fc31 in lfs_write(), flush and invalidate any page cache pages in the range
that we're about to modify.  this weak attempt at coherency is enough
to make some applications (eg. "tail -f") happy, so it's worth having.
2002-03-22 03:57:35 +00:00
chs 72c455ce83 in genfs_compat_getpages(), clear any part of a page that
VOP_READ() doesn't fill in (eg. because it's past EOF).
2002-03-22 03:51:51 +00:00
itojun 1f14081709 make sure we don't touch "ip" in IPv6 path 2002-03-22 03:21:13 +00:00
mjacob d76d04685a Handle Port Unavailable the same as Port Logout (i.e., send a LIP).
Unconst pointer to f/w in the ispdv structure. Too many compilers get
unhappy over our walking the array. Make casts as appropriate so that
initialization in structure is still happy.

Limit length of fabric to 256. This will all go away soon.

Do a cleaner case of keeping multiple CPUs/threads from reading the
same response queue entries.
2002-03-22 02:34:05 +00:00
mjacob 2c3c2f2ca0 Cast for now non-const in ispdv structure. 2002-03-22 02:31:09 +00:00
mjacob ff9ae73488 Forced commit so that some more detail on the previous patches can be
inserted into comments. I really think that more testing was required,
but Christos was eager.

+ Add in tape block/file position reporting support.

+ Change the prevent/allow ejection code so that if the device
  is close the tape can be ejected. This allows robots to eject
  the tape even if the tape isn't at BOT.

+ Don't do a null filemark write if we're reading block position. This
  was such an abysmal performance killer that it had to go. Assume
  that the tape will DTRT and tell you what the tape position really is
  including any buffered data. You are depending on the tape to do
  the right thing to report position at all, so the risk factors don't
  increase appreciably here. BTW- we only do this for logical block
  position. For 'hardware' block position, we still flush.

+ Some substantial tweaking in st_interpret_sense. This essentially duplicates
  the FreeBSD driver's exception handling code. This is to try and correctly
  handle EOM cases. I'm not sure that this is now correct with respect to
  the ENABLE EARLY WARNING code- I hadn't gotten around to validating that.
  Add in full 32 bit residuals- this can then be available to an update
  MTIOCGET in the future.

+ Make sure we handle SKEY_VOLUME_OVERFLOW correctly.
2002-03-22 02:03:30 +00:00
fredette 72eb42a61e Added files.c to SRC_sa. 2002-03-22 00:30:06 +00:00
fredette 3ba7f2074a Added missing DEV_ constants. 2002-03-22 00:28:55 +00:00
fredette 6db09399a0 Added bits to use the console code under sys/arch/sun2 and
sys/dev/sun.
2002-03-22 00:28:08 +00:00
fredette d2550b2ba7 Added the console and zs code now found under sys/arch/sun2. 2002-03-22 00:25:56 +00:00
fredette 5268abfc97 sc_btype has been removed from struct bwtwo_softc. 2002-03-22 00:24:45 +00:00
fredette 453e503b32 Added support for the sun2 zs serial ports. As this driver
is very common on Suns, it could be made shared under sys/dev/sun.
2002-03-22 00:23:53 +00:00
fredette ae1f6b9ea8 Added bits to complete the sun2 console code. These are
virtually identical copies of files under sys/arch/sparc/dev,
and one day they will be merged under sys/dev/sun.
2002-03-22 00:22:43 +00:00
fredette d617871b0c On the m68000, if and only if gcc doesn't seem to know
where libgcc.a is, fall back to one under DESTDIR.
2002-03-22 00:17:12 +00:00
fredette d564a038af Fixed a possible overflow bug in the timeout calculation. 2002-03-22 00:15:21 +00:00
fredette 8fbc2e1699 Changed some preprocessor tests for SUN4 to test for !SUN4U
instead.  Now this file can be used by the sun2 port.
2002-03-22 00:14:37 +00:00
fredette 9b70a4cc11 Added Sun common kbd_reg.h, kbio.h, and vuid_event.h files. 2002-03-22 00:11:55 +00:00
petrov 9305f3556c Remove excessive declarations. 2002-03-21 22:50:09 +00:00
ragge c034dd5209 Inline functions that mostly do not need to be called. Partly
rearrange/change the code to be able to avoid some inefficient functions.
Profiling shows that the time spent in pmap now is decreased by 20%. (!)
2002-03-21 22:08:08 +00:00
eeh 9c8153181f Do not even bother trying to use the mappings provided by the PROM. 2002-03-21 21:33:57 +00:00
christos d9ada7eabf Don't bitch if we don't have support for a particular arch. This makes it
easier to include this header from userland binaries [sysctl] on archs that
don't support compat-linux without incurring ifdef hell.
2002-03-21 13:23:48 +00:00
kent 4c9cd8bc91 Apply a patch by Mark Davies.
http://mail-index.netbsd.org/port-i386/2002/03/18/0000.html

Check codec status in auich_read/write_codec().
2002-03-21 09:17:20 +00:00
itohy a56d289043 I have Prism2 with 0.8.2 firmware, and have no problem
using WEP without promisc on the device.
2002-03-21 07:31:37 +00:00
petrov 8805e1b92d Not needed debug stuff deleted. 2002-03-21 06:56:31 +00:00
isaki fa9ce0dedb Fix previous commit. modifying cc is only when factor_denom > 1.
reviewed by kent@netbsd.org
2002-03-21 05:22:24 +00:00
itojun 0c85427e40 remove unneeded #if 2002-03-21 04:41:03 +00:00
uwe bf8a9d7f0d Fix cast in sbus_promaddr_to_handle(). 2002-03-21 04:32:25 +00:00
itojun 53a52c0ad8 pfkey statistics was presented in wrong direction. 2002-03-21 04:23:36 +00:00
uwe 284be9ba0c Remove struct ebus_dmac_reg to discourage indiscriminate usage of
BUS_SPACE_MAP_LINEAR on sparc64.  Requested by eeh.
2002-03-21 04:15:29 +00:00
itojun 418fefdef0 remove a function no longer in use 2002-03-21 04:10:21 +00:00
uwe fe61b5717e Drop BUS_SPACE_MAP_LINEAR and properly bus_space_*-ify this so that it
uses accessors.  Requested by eeh.
2002-03-21 04:09:27 +00:00
uwe 2837da095f PROM patches for JavaStation-1. 2002-03-21 04:04:12 +00:00
enami 4aaba8dea1 - Allocate enough space to hold an object.
- No need to request to zero clear when we overwrite soon.
2002-03-21 03:26:55 +00:00
itojun 900347e4d0 comment wording 2002-03-21 02:27:50 +00:00
itojun 8cbb556660 protect in6pcb queue operation by splnet, as pcb queue will be touched
by in6_pcbpurgeif() under splnet.
2002-03-21 02:11:39 +00:00
eeh e9c8c1eee3 Add missing semicolon. 2002-03-21 01:19:41 +00:00
eeh ecdc1104a9 Add missing brace. 2002-03-21 01:18:42 +00:00
eeh e6bf9fbdd2 Cleanup. 2002-03-21 01:17:08 +00:00
eeh 7fba99a774 Cleanup. 2002-03-21 00:48:43 +00:00
eeh a1649fc334 Parenthesise macro arguments. 2002-03-21 00:43:42 +00:00
eeh 0cb6a3a2a5 Add bus_space_vaddr(). 2002-03-21 00:30:41 +00:00
eeh 85c03d9775 Properly bus_space_*=ify this so it uses accessors. 2002-03-21 00:25:41 +00:00
eeh 943373dde4 Use bus_space_vaddr(). 2002-03-21 00:18:36 +00:00