zpci_deconfigure_device(9)
zpci_deconfigure_device(9) π
okay so bestie, real talk β this one lives in the Kernel API Manual, and it's all about un-configuring a zPCI device. like, taking it out of the configured life. we love a clean exit β¨
π¦ SYNOPSIS π¦
int zpci_deconfigure_device (struct zpci_dev *zdev );
that's it. one function, one argument, one int coming back at you. no cap. π
πΈ ARGUMENTS πΈ
zdevβ thezpci_devto configure. yep, that's what it says, i'm just the messenger bestie π (it's the device this whole deconfigure situation is about π«Ά)
β¨ DESCRIPTION β¨
so what does it do? it deconfigures a zPCI function β one that's currently configured and possibly already known to the common code PCI subsystem. like the function has been living its configured life, is out in the world, known to the PCI common code, and this is the function that says "okay babe, wrap it up". π
and here's the important part, so listen up: if any failure occurs, the device is left as is. no half-deconfigured chaos, no weird in-between state β it just stays exactly how it was. ngl that's actually very considerate of it. π
π RETURN π
0on success π- or an error code otherwise π
that's the whole vibe check. zero means slay, anything else means something went sideways.
π¦ SEE ALSO π¦
- Kernel file
./arch/s390/pci/pci.c zpci_hot_reset_device(9)zpci_create_device(9)zpci_add_device(9)zpci_scan_configured_device(9)zpci_device_reserved(9)zpci_clear_error_state(9)zpci_reset_load_store_blocked(9)
go read those too, iykyk π β¨
if you're gonna go poke at zPCI devices, please read the actual source at ./arch/s390/pci/pci.c first. bestie behavior only. π
signed off with love π this one's from the ./arch/s390/pci corner of the tree, dated October 2026, and yeah β it's still zpci_deconfigure_device(9), icon of the manual. periodt. ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms