elad
b853042065
Introduce actions/requests to handle authorization for ppp(4), sl(4),
...
strip(4), btuart(4) and bcsp(4) network interfaces and devices.
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004955.html
2009-05-07 18:01:56 +00:00
mjacob
30611ba7e0
update firmware
2009-05-07 15:55:18 +00:00
mjacob
c83986a8bd
Add firmware set for 8Gb card.
2009-05-07 15:54:20 +00:00
skrll
7ab26758f5
device_t/softc split
...
struct device * -> device_t
struct cfdata * -> cfdata_t
Use aprint*
There are a couple of MI drivers with MD attachments left.
2009-05-07 15:34:49 +00:00
rjs
4179d32aff
Use device_private().
2009-05-07 13:06:11 +00:00
cegger
bc33dc599e
struct device * -> device_t, no functional changes intended.
2009-05-07 12:15:33 +00:00
cegger
2641fe2fb7
struct device * -> device_t
...
comment says, first argument of audiobell is a device, so make it a device.
2009-05-07 09:23:01 +00:00
cegger
ed4086f2eb
struct cfdata * -> cfdata_t, no functional changes intended.
2009-05-07 09:13:13 +00:00
cegger
5496566c68
struct device * -> device_t, no functional changes intended.
2009-05-07 09:11:42 +00:00
cegger
6ee74bfd56
struct device * -> device_t, no functional changes intended.
2009-05-07 08:03:23 +00:00
cegger
602c27254b
use device_private()
2009-05-07 07:56:03 +00:00
cegger
930db79c5b
struct device * -> device_t, no functional changes intended.
2009-05-07 07:33:05 +00:00
jdc
c10e3b28bd
Add extra counter definitions (pointed out by Geoff Wing).
2009-05-07 06:46:54 +00:00
cegger
73144fe522
device_t/softc split
...
patch presented on tech-kern@, no comments on it
2009-05-07 06:08:02 +00:00
ad
b5dc34151d
Unneeded LK_CANRECURSE.
2009-05-06 22:38:42 +00:00
jdc
6e8d1a982c
Check for internal PHY first, so that it always attaches first, even when
...
we have an MII transeiver attached.
Count all collision and error counters.
Handle counter overflow and RXTERR.
Tested on U60 HME, PCI HME (501-5019) and SBus Sunswift (501-2739)
2009-05-06 20:40:19 +00:00
elad
105d9a093d
Replace curlwp->l_cred with kauth_cred_get().
...
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/05/05/msg005038.html
2009-05-06 18:41:54 +00:00
cegger
af1172fad0
device_t/softc split
...
tested by jakllsch@
2009-05-06 18:25:28 +00:00
cegger
a591bc88dd
struct device * -> device_t, no functional changes intended.
2009-05-06 10:34:32 +00:00
cegger
6b9f9b8644
use device_private()
2009-05-06 09:32:52 +00:00
cegger
59717d7121
struct cfdata * -> cfdata_t, no functional changes intended.
2009-05-06 09:25:14 +00:00
cegger
3261738b4d
struct cfdata * -> cfdata_t, no functional changes intended.
2009-05-06 08:20:49 +00:00
cegger
6d542a9a5c
add KASSERT to identify when PR kern/40734 happens again.
...
It happened to me twice and to Emmanuel Dreyfus (reported on port-amd64 ML)
2009-05-06 07:27:42 +00:00
mrg
a35a651446
you can now easily select trying external drm with "options DRM_EXTERNAL".
2009-05-06 01:33:24 +00:00
macallan
08f5b97b95
clear screen on attach
2009-05-05 23:55:04 +00:00
cegger
52b1d2aee7
struct cfdata * -> cfdata_t
2009-05-05 21:47:49 +00:00
dyoung
e470d88889
Change struct cfdata * to cfdata_t. No functional change intended.
2009-05-05 21:34:13 +00:00
cegger
4474fa75b2
device_t/softc split
...
tested by and ok dyoung@
2009-05-05 21:33:21 +00:00
elad
b50c4b9e09
Add device scope actions for rnd(4) and use them.
...
Mailing list reference:
http://mail-index.netbsd.org/tech-kern/2009/04/27/msg004953.html
2009-05-05 21:03:28 +00:00
msaitoh
b25f90b108
Doesn't print error message only when the register is BGE_SRS_MODE.
...
It occurs on some environment (and once after boot?). Other *BSDs and
Linux don't print the error message for all registers.
2009-05-05 18:08:28 +00:00
tsutsui
1ad413250a
Add support for i82596 Rev A chip which doesn't have the enhanced 32 bit
...
big endian mode:
- add IEE_REV_A flag to indicate if chip support the 32 bit BE mode or not
- add IEE_SWAPA32() macro and use it on necessary 32 bit DMA pointers
- rename IEE_SWAP() macro for the SCP address pointer and statistics
counters which require word swap even on Rev B/C chips to IEE_SWAP32()
for clarification
- add comments about these BE mode quirks
Tested on HP9000 735/125 by me and also tested on 715/50 by skrll@
with netbsd-5 branch, and fixes MI part of PR port-hp700/35531.
2009-05-05 15:47:35 +00:00
nonaka
6cb21f59ee
Added NE2000 with 8bit bus width support.
...
reviewd by tsutsui@ at tech-kern ML.
2009-05-05 12:37:24 +00:00
cegger
06e69f3860
struct device * -> device_t
2009-05-05 12:10:07 +00:00
cegger
f2bccc0a8e
struct device * -> device_t, use device_private()
2009-05-05 12:07:15 +00:00
cegger
73af259591
Attach on BCM5709 chip.
...
XXX Firmware fails to complete initialization on this chip.
2009-05-05 10:21:22 +00:00
cegger
dc97f7f624
print autoconf error message with aprint_error
2009-05-05 10:02:52 +00:00
cegger
6a970ea21d
device_t/softc split
2009-05-05 09:51:23 +00:00
manu
c328d568d4
TFTPROOT loads the RAMdisk through TFTP at boot time. It needs the
...
network to be functionnal, and therefore must be called after
config_finalize(). Unfortunately, config_finalize() attaches md0
through mdattach(), and when tftproot_getfile() attempts to attach it
later by calling mdattach() again, it gets a failure.
This change checks for the RAMdisk size in mdattach(). If it is zero, then
the RAMdisk has not been loaded yet, and nothing is done. It will be
attached later when tftproot_getfile() will call mdattach()
2009-05-04 16:20:41 +00:00
markd
a44286a718
Treat G4X like I915 and G33 for MSAC. Fixes aperture setting.
...
Has been working successfully for me and snj for the last few months.
2009-05-04 11:05:45 +00:00
tsutsui
cf78f721dd
Make COM_RING_SIZE configurable by kernel config(5).
2009-05-03 13:52:36 +00:00
tsutsui
8fa3bb31fc
Remove unused sc_rev settings (all quirks are handled by sc_quirk)
...
and merge HWREV cases which have the same quirks.
2009-05-03 13:49:07 +00:00
dyoung
85d5fd7b83
In pccbb_pci_callback(), set CBB_SPECMAPPED in sc_flags if we've
...
acquired bus space from bus_space_alloc(9) or from rbus_space_alloc(),
so that we use the appropriate routine to release the bus space in
pccbbdetach(). This stops panics during cbb(4) detachment (esp. at
shutdown) on some systems.
Thanks to Kurt Schreiner for testing the fix, Kurt, Patrick Welche,
Pouya D. Tafti, and Matt Green for reporting.
2009-05-03 00:31:12 +00:00
martin
1e54487f2a
Correct previous: detaching uhubN makes the bus pointer NULL
2009-05-02 22:28:41 +00:00
martin
9b2932709e
If we are unlucky, during detach of child devices, after a uhub has detached,
...
our uhci_poll_hub callout might strike. The detaching of the uhub has left
the device member in the pipe NULL, so make sure we do not dereference it.
We could halt the callout before detaching child devices, but it this
would likely interfere with proper servicing the child devices while
they are still around.
2009-05-02 22:09:39 +00:00
oster
62f6e89480
Fix assignment of SUsPerPU and add SUsPerRU assignment. Reported by
...
and fix from Anthony Mallet in PR#41328. Thanks!
2009-05-02 21:11:26 +00:00
dyoung
aaa0eb2937
Use device_t, cfdata_t, device_private().
2009-05-01 20:43:41 +00:00
martin
cb13eee90c
Add missing braces - patch from Kurt Lidl in PR port-vax/41314.
2009-05-01 03:18:20 +00:00
nonaka
a6a538b335
compile again.
2009-05-01 00:15:57 +00:00
dyoung
ee9d8d96c8
Straggler from last vnd(4) commit: #define VNF_CLEARING.
2009-04-30 22:36:10 +00:00
dyoung
c968789de1
Flesh out vnd_detach(). Let the system detach vnd(4) at shutdown. Stop
...
vnd_ioctl(VNDIOCCLR) from racing with vndopen() to call vndclear().
2009-04-30 20:34:08 +00:00