Commit Graph

42884 Commits

Author SHA1 Message Date
thorpej e57273c82e Only include the 16-bit chown/fchown/lchown stuff if on i386 or m68k.
This is a little ugly, but hey, so is Linux.
2000-12-21 20:15:53 +00:00
jdolecek 0d8b0305c5 don't define SYSVMSG if it's already defined 2000-12-21 19:30:26 +00:00
onoe 2079f9d276 improve an_cmd() slightly:
- strip unnecessary loop to get command result status
- ack command after clearing busy bit

XXX: it still sometimes get timeout to get status(0xff50) or statistics(0xff68)
     probably due to heavy load of firmware in receiving.
2000-12-21 15:37:18 +00:00
onoe 4ee7a7cdcd use pcmcia_devinfo() to print product info. 2000-12-21 15:32:46 +00:00
tsutsui 6018d57cfa Add tlp at pci.
"options TLP_MATCH_21?4?" are still commented out.
2000-12-21 13:54:09 +00:00
fvdl b542c20c5b Fix yet another typo. 2000-12-21 13:37:02 +00:00
hubertf 4dfc667a6d Add pseudo-device vlan, OK'd by Manuel Bouyer. 2000-12-21 10:36:15 +00:00
itojun 823498203f populate _BSD_MBSTATE_T_. add warning regarding to rune_t. 2000-12-21 06:03:47 +00:00
enami 28f80d692b Redo previous slight differently. 2000-12-21 05:20:24 +00:00
enami 5575e1f704 Print cpu features line only when corresponding part of bits are set. 2000-12-21 05:11:00 +00:00
enami 0088605039 Don't cache a device vnode in a layer node cache once the layer node
is inactivated.  Otherwise, the device won't closed.
2000-12-21 03:51:02 +00:00
enami 7daeeec54d Set the size of vnode so that reading cdrom over nfs works. 2000-12-21 03:42:43 +00:00
enami 4e59adc1bb s/UBC_WINSIZE/ubc_winsize/g except the variable initialization. 2000-12-21 03:37:59 +00:00
sato bd50a7eb6a - re-disable HPCFB_MULTI which enabled by my mistake.
- fix hpcfb_show_screen()'s cursor drawing when HPCFB_MULTI is enabled.
2000-12-21 03:30:36 +00:00
sato b3192db26e fix sc->sc_fbconf.hf_offset calculation. 2000-12-21 03:27:15 +00:00
enami 58f16f5f39 - Zero is a valid random data. Don't give up to attach.
- 4 cycle is enough to get 4 octet of data.
2000-12-21 02:43:04 +00:00
mycroft e2ef1b88bb Disable the 16-bit I/O space hack for ALL PROMISE CONTROLLERS.
This code is TOTALLY BROKEN and causes a NULL POINTER DEREFERENCE whenever it
is fired.
2000-12-21 01:19:24 +00:00
chs fc03073896 expose the tunables ubc_nwins and ubc_winsize in uvm_param.h.
add the space used by UBC mappings to the initial PTE calculations
for pmaps that do that (mips and alpha).
2000-12-21 00:52:01 +00:00
itojun b05acc70f8 make sure we notify of routing changes, even if we have net route pointed
to by inpcb.
2000-12-21 00:46:20 +00:00
itojun b2aef8afe2 fix call to in6_pcbnotify. s/EMSGSIZE/PRC_MSGSIZE/. 2000-12-21 00:45:17 +00:00
onoe c6607f2fef move definition of AN_INTRS from anreg.h to anvar.h
strip off AN_EV_CMD from AN_INTRS because it causes severe performance
problem.
2000-12-20 23:30:36 +00:00
bjh21 15d214bd18 Looks like I got the state of the link-detect bit inverted. Fixing that
gets me working auto-media selection, which is nice.
2000-12-20 23:08:44 +00:00
bjh21 9ca53819f0 Actually use 10baseT when we say we will. 2000-12-20 22:48:15 +00:00
bjh21 4a33b50a91 Add eh(4). 2000-12-20 22:17:31 +00:00
bjh21 35a8d9d1b4 eh, podloader 2000-12-20 21:17:35 +00:00
thorpej e3d7d246bb Fix a debugging clause missed when fixing full-duplex support.
Noted by Wolfgang Rupprecht.
2000-12-20 21:06:41 +00:00
scw 00627955a1 Some minor optimisations to avoid checking {cpu,mmu}type when
the kernel was built for only one type of CPU.
2000-12-20 16:53:50 +00:00
mrg 43251365b4 com_attach_subr() prints the newline for us. 2000-12-20 16:19:09 +00:00
briggs 9a73f8b22b Make _sure_ that we do not use selatn3 when it is not present. Fixes a
problem on pmax reported by Izumi Tsutsui.  Tested also on alpha and mac68k.
2000-12-20 15:49:03 +00:00
jhawk 33e37f6d03 When we hit a breakpoint in a process, print the pid of the process as
well as the command name (p_comm) of the process.
2000-12-20 15:42:37 +00:00
aymeric e08387765d The key below <escape> is now ~ (KS_asciitilde) when shifted in the
french layout.
This is consistent with the XFree layout, and is very convenient.
2000-12-20 14:53:18 +00:00
tsutsui bddc90bbc3 Add atapibus at pciide. 2000-12-20 12:05:40 +00:00
bjh21 f8e732cd45 Use the podule loader code to get at the card description the official way,
and get our Ethernet address from there.  This works on both of my cards.
2000-12-20 10:59:32 +00:00
bjh21 b66603547a Add support for using RISC OS podule loaders to get at ROM chunks on podules.
By default, they aren't used, since most cards seem to put the non-OS-dependent
stuff in the main chunk directory.  i-cubed cards are a notable exception.
2000-12-20 10:57:38 +00:00
augustss 81ab9f2251 Put 'an* at isapnp?' in alphabetical order. 2000-12-20 10:44:29 +00:00
haya 22be9ab855 Add IO Data CBIDE2 ata interface card. 2000-12-20 09:56:34 +00:00
sato 1cf16cd23f fix some HPCFB_MULTI related bugs.
- confusing some screens.
- save/resume problem

(but HPCFB_MULTI is not stabe yet)
2000-12-20 09:35:40 +00:00
sato 9eb6b660b6 fix ICU address typos. 2000-12-20 08:05:09 +00:00
sato 45f1bffb11 fix bug hpcfb_redraw()'s argument all=1. 2000-12-20 08:04:27 +00:00
haya 5f8d27d58b regen. 2000-12-20 06:24:37 +00:00
haya f899f18228 Add IO Data CBIDE2 ata interface card. 2000-12-20 06:05:13 +00:00
jeffs a68a400049 Hook mips3 cache error vector. No real handler, only set-up for a panic.
A real handler is hard.
2000-12-20 05:48:06 +00:00
sommerfeld 824092cc68 Regen, because jhawk didn't 2000-12-20 05:03:37 +00:00
jhawk 391d469a00 Backout most of 1.46, because Jason checked in a load of crap from
his local tree that doesn't build with -current...
2000-12-20 04:36:26 +00:00
jhawk 6cca4087d9 s/NULL}/NULL }/
Did I mention this awk script really sucks?
2000-12-20 04:32:48 +00:00
matt f048d7e84b Start using the common mips/conf/Makefile.mips 2000-12-20 04:12:42 +00:00
matt 3ea126c565 Add Aironet. 2000-12-20 03:23:55 +00:00
eeh d1ab475964 Make the driver negotiate sync again and remove some (hopefully) superfluous
DELAY()s.
2000-12-20 03:19:34 +00:00
cgd 1a1dca038e replace \<space(s)><newline> (wrong!) with \<newline> 2000-12-20 00:24:23 +00:00
matt a0319e43fd Add pciide 2000-12-20 00:12:19 +00:00
bjh21 5b4c3dc909 Disable media autoselection entirely, but use whatever medium the card was
found using (presumably having been set up by RISC OS) as the default.
NB that this doesn't seem to be right for the EtherLan 200.
2000-12-20 00:01:56 +00:00
fvdl b76b718303 Fix another pasto. 2000-12-19 22:24:03 +00:00
scw 96698d967e Change struct emul's "char e_name[8]" field to "const char *e_name"
to allow for emulation names >= 8 characters.
2000-12-19 22:08:36 +00:00
scw 4350a7f2b7 Unification of the m68k syscall() function. 2000-12-19 21:09:54 +00:00
thorpej 2563d39a6e This is long since obsolete. 2000-12-19 18:12:48 +00:00
thorpej 814729d3ae Regen. 2000-12-19 17:11:38 +00:00
thorpej d4bbed68f8 " " -> "&sp" in two entries, per Rafal Boni. 2000-12-19 17:11:22 +00:00
thorpej 54e034de88 Identify the SMC 2632W as a Prism II. From Rafal Boni, kern/11776. 2000-12-19 16:55:57 +00:00
thorpej ef0031e520 Regen; add SMC 2632W. 2000-12-19 16:54:14 +00:00
thorpej 0ca5cacc47 Add SMC 2632W. From Rafal Boni, kern/11775. 2000-12-19 16:53:41 +00:00
matthias ccbc30bf9c Use PMAP_SIMPLE_LOCK/PMAP_SIMPLE_UNLOCK to avoid undefined variables when
compiling without LOCKDEBUG.
2000-12-19 16:28:07 +00:00
matthias a4d55cc0ad add missing const for callp. 2000-12-19 16:25:53 +00:00
matthias 62c3b7d1c6 fix typo. 2000-12-19 16:24:43 +00:00
matthias 172ba55ce5 Make it work again after the linediscipline changes. 2000-12-19 16:23:57 +00:00
tsutsui 3b9a83935d Remove "rnd is EXPERIMANTAL" comments. 2000-12-19 15:54:26 +00:00
tsutsui cb7f7c7f3b Remove "rnd is EXPERIMENTAL" comments. 2000-12-19 15:51:47 +00:00
tsutsui 672fd750a9 Add pseudo-device vlan. 2000-12-19 15:45:23 +00:00
tsutsui df19f979d4 Add pseudo-device vlan. 2000-12-19 15:43:07 +00:00
pk c6bd81f8a6 Fix reversed logic when setting setting sync-negotiation ability flag 2000-12-19 14:08:17 +00:00
bouyer c71f40d166 Add pseudo-device vlan 2000-12-19 10:42:02 +00:00
bouyer ba933b24f7 Add peudo-device vlan 2000-12-19 10:34:11 +00:00
nisimura b3345434e4 Fix an error in xoffset calculation. Revealed in the case when
ri_width is less than ri_stride and screen is layouted RI_CENTERed.
2000-12-19 09:52:53 +00:00
onoe 684fe5613d cleanup attach procedure, use tsleep() instead of long delay (and ignore
timeouts).
stop driver after suspend.
XXX: should use command interrupt but no document...
XXX: status update sometimes failed perhaps due to collision.
	(RID 0xff50 or 0xff68 access failed)
2000-12-19 08:00:55 +00:00
mycroft 045091aa8f Add a big comment in the previous section of code... 2000-12-19 06:23:26 +00:00
mycroft 463d0e577e Back out previous change.
I removed this once before a long time ago, because it's wrong and breaks
PCMCIA on some machines.  It also doesn't fix the Multia problems.
2000-12-19 06:04:02 +00:00
mrg 3f647a126c clockattach(): print the hostid as a 32-bit value to avoid 64-bit sign extension. 2000-12-19 05:09:06 +00:00
mrg 7284657373 only print the magic number changing if not cold 2000-12-19 04:39:19 +00:00
eeh 0db43ad6ce Kill extra "attached" message. 2000-12-19 04:36:05 +00:00
tsubai a255931f5c Remove unnecessary casts. 2000-12-19 03:13:40 +00:00
tsubai 438b1e68e0 Add support for Kensington Turbo Mouse. 2000-12-19 02:59:23 +00:00
tsubai 0f4768af30 Sync with mac68k. 2000-12-19 02:50:11 +00:00
onoe f9af49b21b I've inverted the logic of an_probe() in my previous commit to dev/ic/an.c 2000-12-19 01:59:21 +00:00
perseant 3475e639f3 Add register #defines similar to those in <dev/pci/tgareg.h>, referring to
a 32-bit sfb_reg_t, for easy comparison between tga and sfb Xservers.
2000-12-19 01:25:46 +00:00
mjl aaad4d0284 Add quirk for Avance Logic ALS100+, which doesn't like it's irq/drq
being set in pnp mode.
2000-12-19 01:09:15 +00:00
mjl 324ff9ac52 Regen 2000-12-19 01:08:13 +00:00
mjl a006fdf328 Correct ALS100+ entry. 2000-12-19 01:07:52 +00:00
bjh21 689b0d9238 Regen 2000-12-19 00:36:54 +00:00
bjh21 6d2a9cf566 Correct i-cubed podule list from their CardType utility. 2000-12-19 00:36:26 +00:00
thorpej ba4b6847df Fix a problem with the ALTQ changes that can cause bogus memory
refernces.  Problem reported by Luke Mewburn.
2000-12-19 00:06:01 +00:00
thorpej 4dbafc4a71 Remove an IF_PREPEND() that slipped through. 2000-12-18 23:57:13 +00:00
thorpej f2242e9329 Gah, fix braino in last. 2000-12-18 23:41:58 +00:00
briggs 7ea0edc288 If the target rejects a tag message, turn off tagged transfers for that target.
Also, adjust message/command construction in ncr53c9x_select() to work no
matter how the structure alignment works out (needed at least for m68k).
Tested by me on mac68k & alpha, and sanity-checked by eeh.
2000-12-18 23:39:44 +00:00
thorpej 895f21a679 Prototype freebsd_syscall_intern() in freebsd_machdep.h so that
freebsd_exec.c has access to it.
2000-12-18 23:29:46 +00:00
thorpej ad4f387a4c Put back the INITIALLY_{ENABLED,LEVEL_TRIGGERED}() PROM brain-damage
work-around.  It's required in order for the DEC Multia (a very
brain-damaged little machine) to work properly.

Submitted by Juergen Weiss <weiss@uni-mainz.de>, addresses
port-alpha/11202.
2000-12-18 21:49:08 +00:00
thorpej 57a13edc11 Use separate interrupt handlers for play and record the chip has
support for it and we're configured for separate play and record
DRQs.  This makes full-duplex audio work on the Windows Sound System
(found in many Alpha systems).

Submitted by Juergen Weiss <weiss@uni-mainz.de> in kern/11178.
2000-12-18 21:31:32 +00:00
scw e82303a96d s/MDECDIR/MDEC_DIR/ 2000-12-18 21:27:01 +00:00
christos 761a522cde protect against multiple declarations. 2000-12-18 21:20:35 +00:00
thorpej 7cc029e16c Use IST_LEVEL as appropriate. Fixes PCMCIA interrupt problems
on the DEC Multia.  From Juergen Weiss <weiss@Uni-Mainz.DE>.
2000-12-18 21:17:44 +00:00
thorpej 8a56f72a7c Oops, make this build without ALTQ again. 2000-12-18 21:13:14 +00:00
thorpej 831d5b8d43 Add SIOCGIFDLT, which will fetch the data link type (DLT_* constant)
for a given network interface.
2000-12-18 21:05:03 +00:00